[gtk+] container: Slightly reword some docs



commit 32f27a4cd0515493627fc143dc1f0ed1e40fd1f9
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Nov 9 07:40:44 2015 -0500

    container: Slightly reword some docs
    
    Clarify gtk_container_remove documentation regarding reference
    holding. Suggested in
    
    https://bugzilla.gnome.org/show_bug.cgi?id=757607

 gtk/gtkcontainer.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkcontainer.c b/gtk/gtkcontainer.c
index 3cc20eb..30a6d1e 100644
--- a/gtk/gtkcontainer.c
+++ b/gtk/gtkcontainer.c
@@ -1869,7 +1869,7 @@ gtk_container_add (GtkContainer *container,
  * Note that @container will own a reference to @widget, and that this
  * 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
+ * again, you need to add a reference to it before removing it from
  * 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]