mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-01 05:13:06 +02:00
Fix g_source_add_child_source docs
https://bugzilla.gnome.org/show_bug.cgi?id=640823
This commit is contained in:
parent
d4209c1c41
commit
3c59c38404
@ -1183,12 +1183,12 @@ g_source_remove_poll (GSource *source,
|
|||||||
* Adds @child_source to @source as a "polled" source; when @source is
|
* Adds @child_source to @source as a "polled" source; when @source is
|
||||||
* added to a #GMainContext, @child_source will be automatically added
|
* added to a #GMainContext, @child_source will be automatically added
|
||||||
* with the same priority, when @child_source is triggered, it will
|
* 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
|
* callback), and when @source is destroyed, it will destroy
|
||||||
* @child_source as well. (@source will also still be dispatched if
|
* @child_source as well. (@source will also still be dispatched if
|
||||||
* its own prepare/check functions indicate that it is ready.)
|
* 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
|
* triggers, you can call g_source_set_dummy_callback() on it to set a
|
||||||
* callback that does nothing (except return %TRUE if appropriate).
|
* callback that does nothing (except return %TRUE if appropriate).
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user