Expand the docs. (#320466, Steffen Gutmann)
authorMatthias Clasen <mclasen@redhat.com>
Fri, 4 Nov 2005 20:33:34 +0000 (20:33 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Fri, 4 Nov 2005 20:33:34 +0000 (20:33 +0000)
2005-11-04  Matthias Clasen  <mclasen@redhat.com>

        * glib/gmain.c (g_child_watch_source_new): Expand
        the docs.  (#320466, Steffen Gutmann)

glib/gmain.c

index b41438a59e7b0046f7a52b9ac24c412b963d794f..5893544a38ed22128c7071c1c4eb7d2e524d64c4 100644 (file)
@@ -3615,6 +3615,10 @@ g_child_watch_source_init (void)
  * and must be added to one with g_source_attach() before it will be
  * executed.
  * 
+ * Note that child watch sources can only be used in conjunction with
+ * <literal>g_spawn...</literal> when the %G_SPAWN_DO_NOT_REAP_CHILD
+ * flag is used.
+ *
  * Note that on platforms where #GPid must be explicitely closed
  * (see g_spawn_close_pid()) @pid must not be closed while the
  * source is still active. Typically, you will want to call