mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 19:36:18 +01:00
Improve the docs. (#345569, Tim-Philipp Müller)
2006-12-14 Matthias Clasen <mclasen@redhat.com> * glib/gmain.c (g_child_watch_add_full): Improve the docs. (#345569, Tim-Philipp Müller)
This commit is contained in:
parent
966872d789
commit
dc78f9b202
@ -1,5 +1,8 @@
|
|||||||
2006-12-14 Matthias Clasen <mclasen@redhat.com>
|
2006-12-14 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* glib/gmain.c (g_child_watch_add_full): Improve the docs.
|
||||||
|
(#345569, Tim-Philipp Müller)
|
||||||
|
|
||||||
* glib/gkeyfile.c (g_key_file_add_group): If the group
|
* glib/gkeyfile.c (g_key_file_add_group): If the group
|
||||||
is already there, make it current. (#385910, Joe Halliwell)
|
is already there, make it current. (#385910, Joe Halliwell)
|
||||||
|
|
||||||
|
16
glib/gmain.c
16
glib/gmain.c
@ -3974,8 +3974,12 @@ g_child_watch_source_new (GPid pid)
|
|||||||
* @data: data to pass to @function
|
* @data: data to pass to @function
|
||||||
* @notify: function to call when the idle is removed, or %NULL
|
* @notify: function to call when the idle is removed, or %NULL
|
||||||
*
|
*
|
||||||
* Sets a function to be called when the child indicated by @pid exits, at a
|
* Sets a function to be called when the child indicated by @pid
|
||||||
* default priority, #G_PRIORITY_DEFAULT.
|
* exits, at the priority @priority.
|
||||||
|
*
|
||||||
|
* If you obtain @pid from g_spawn_async() or g_spawn_async_with_pipes()
|
||||||
|
* you will need to pass #G_SPAWN_DO_NOT_REAP_CHILD as flag to
|
||||||
|
* the spawn function for the child watching to work.
|
||||||
*
|
*
|
||||||
* Note that on platforms where #GPid must be explicitly closed
|
* Note that on platforms where #GPid must be explicitly closed
|
||||||
* (see g_spawn_close_pid()) @pid must not be closed while the
|
* (see g_spawn_close_pid()) @pid must not be closed while the
|
||||||
@ -4018,8 +4022,12 @@ g_child_watch_add_full (gint priority,
|
|||||||
* @function: function to call
|
* @function: function to call
|
||||||
* @data: data to pass to @function
|
* @data: data to pass to @function
|
||||||
*
|
*
|
||||||
* Sets a function to be called when the child indicated by @pid exits, at a
|
* Sets a function to be called when the child indicated by @pid
|
||||||
* default priority, #G_PRIORITY_DEFAULT.
|
* exits, at a default priority, #G_PRIORITY_DEFAULT.
|
||||||
|
*
|
||||||
|
* If you obtain @pid from g_spawn_async() or g_spawn_async_with_pipes()
|
||||||
|
* you will need to pass #G_SPAWN_DO_NOT_REAP_CHILD as flag to
|
||||||
|
* the spawn function for the child watching to work.
|
||||||
*
|
*
|
||||||
* Note that on platforms where #GPid must be explicitly closed
|
* Note that on platforms where #GPid must be explicitly closed
|
||||||
* (see g_spawn_close_pid()) @pid must not be closed while the
|
* (see g_spawn_close_pid()) @pid must not be closed while the
|
||||||
|
Loading…
Reference in New Issue
Block a user