From c5a250ce379357ff3cccd8b5352af36c21fe7465 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Sat, 4 Jul 2015 19:30:22 +0100 Subject: [PATCH] container: Update the add() warning Now that gtk_widget_reparent() has been deprecated, we should not suggest it. --- gtk/gtkcontainer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkcontainer.c b/gtk/gtkcontainer.c index fcb8ed1b53..1c06579316 100644 --- a/gtk/gtkcontainer.c +++ b/gtk/gtkcontainer.c @@ -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)));