summaryrefslogtreecommitdiff
path: root/glib/gmain.c
diff options
context:
space:
mode:
Diffstat (limited to 'glib/gmain.c')
-rw-r--r--glib/gmain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/gmain.c b/glib/gmain.c
index 15581ee7a..d82683ed6 100644
--- a/glib/gmain.c
+++ b/glib/gmain.c
@@ -5723,7 +5723,7 @@ g_child_watch_source_new (GPid pid)
* you will need to pass #G_SPAWN_DO_NOT_REAP_CHILD as flag to
* the spawn function for the child watching to work.
*
- * In many programs, you will want to call g_spawn_check_exit_status()
+ * In many programs, you will want to call g_spawn_check_wait_status()
* in the callback to determine whether or not the child exited
* successfully.
*