forked from AuroraMiddleware/gtk
container: Update the add() warning
Now that gtk_widget_reparent() has been deprecated, we should not suggest it.
This commit is contained in:
parent
bea3cbaba5
commit
c5a250ce37
@ -1744,7 +1744,7 @@ gtk_container_add (GtkContainer *container,
|
||||
{
|
||||
g_warning ("Attempting to add a widget with type %s to a container of "
|
||||
"type %s, but the widget is already inside a container of type %s, "
|
||||
"please use gtk_widget_reparent()" ,
|
||||
"please remove the widget from its existing container first." ,
|
||||
g_type_name (G_OBJECT_TYPE (widget)),
|
||||
g_type_name (G_OBJECT_TYPE (container)),
|
||||
g_type_name (G_OBJECT_TYPE (parent)));
|
||||
|
Loading…
Reference in New Issue
Block a user