Fix g_source_add_child_source docs

https://bugzilla.gnome.org/show_bug.cgi?id=640823
This commit is contained in:
Dan Winship 2011-01-28 10:17:54 -05:00
parent d4209c1c41
commit 3c59c38404

View File

@ -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).
*