[glib] Fix g_source_add_child_source docs



commit 3c59c38404894b09f1f67add89f7fbbbcb4f4ace
Author: Dan Winship <danw gnome org>
Date:   Fri Jan 28 10:17:54 2011 -0500

    Fix g_source_add_child_source docs
    
    https://bugzilla.gnome.org/show_bug.cgi?id=640823

 glib/gmain.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/glib/gmain.c b/glib/gmain.c
index d0e7f17..46752f7 100644
--- a/glib/gmain.c
+++ b/glib/gmain.c
@@ -1183,12 +1183,12 @@ g_source_remove_poll (GSource *source,
  * Adds @child_source to @source as a "polled" source; when @source is
  * added to a #GMainContext, @child_source will be automatically added
  * with the same priority, when @child_source is triggered, it will
- * cause @source to dispatch (and won't call @child_source's own
+ * cause @source to dispatch (in addition to calling its own
  * callback), and when @source is destroyed, it will destroy
  * @child_source as well. (@source will also still be dispatched if
  * its own prepare/check functions indicate that it is ready.)
  *
- * If you need @child_source to do anything on its own when it
+ * If you don't need @child_source to do anything on its own when it
  * triggers, you can call g_source_set_dummy_callback() on it to set a
  * callback that does nothing (except return %TRUE if appropriate).
  *



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