[gtk+/wip/baedert/gtkimageview: 3/15] container: Update the add() warning
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/baedert/gtkimageview: 3/15] container: Update the add() warning
- Date: Sun, 5 Jul 2015 18:49:41 +0000 (UTC)
commit aa7e71b351d73178871edd03fefa39929feeb032
Author: Emmanuele Bassi <ebassi gnome org>
Date: Sat Jul 4 19:30:22 2015 +0100
container: Update the add() warning
Now that gtk_widget_reparent() has been deprecated, we should not
suggest it.
gtk/gtkcontainer.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkcontainer.c b/gtk/gtkcontainer.c
index fcb8ed1..1c06579 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)));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]