diff options
author | Matthias Clasen <maclas@gmx.de> | 2003-07-08 21:31:09 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2003-07-08 21:31:09 +0000 |
commit | f7657d313ef4dd9d7a6e4c9a955cdfe0262f78cb (patch) | |
tree | d9eae3171bcf88e78bd0fd1e9723c2416cee0cb9 /gtk/gtkcontainer.c | |
parent | d523e1a2b16b17fd424de81fae03d961b9667762 (diff) | |
download | gtk+-f7657d313ef4dd9d7a6e4c9a955cdfe0262f78cb.tar.gz |
Doc addition. (#116501, Doug Quale)
2003-07-08 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcontainer.c (gtk_container_remove): Doc addition. (#116501, Doug Quale)
Diffstat (limited to 'gtk/gtkcontainer.c')
-rw-r--r-- | gtk/gtkcontainer.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk/gtkcontainer.c b/gtk/gtkcontainer.c index 5d637210c8..44483298d1 100644 --- a/gtk/gtkcontainer.c +++ b/gtk/gtkcontainer.c @@ -971,7 +971,10 @@ gtk_container_add (GtkContainer *container, * may be the last reference held; so removing a widget from its * container can destroy that widget. If you want to use @widget * again, you need to add a reference to it while it's not inside - * a container, using g_object_ref(). + * a container, using g_object_ref(). If you don't want to use @widget + * again it's usually more efficient to simply destroy it directly + * using gtk_widget_destroy() since this will remove it from the + * container and help break any circular reference count cycles. **/ void gtk_container_remove (GtkContainer *container, |