From c7b1002ca7b8e8a86dd0a39f5db639147c0bca03 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 8 Oct 2004 14:19:41 +0000 Subject: [PATCH] Document that GLib supports only a single callback per pid. (#154828, 2004-10-08 Matthias Clasen * glib/gmain.c (g_child_watch_add_full): * glib/gmain.c (g_child_watch_add): Document that GLib supports only a single callback per pid. (#154828, Gustavo Carneiro) --- ChangeLog | 6 ++++++ ChangeLog.pre-2-10 | 6 ++++++ ChangeLog.pre-2-12 | 6 ++++++ ChangeLog.pre-2-6 | 6 ++++++ ChangeLog.pre-2-8 | 6 ++++++ glib/gmain.c | 4 ++++ 6 files changed, 34 insertions(+) diff --git a/ChangeLog b/ChangeLog index 2b6cd9d49..60f718ad7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-10-08 Matthias Clasen + + * glib/gmain.c (g_child_watch_add_full): + * glib/gmain.c (g_child_watch_add): Document that GLib supports only + a single callback per pid. (#154828, Gustavo Carneiro) + 2004-10-06 Matthias Clasen * glib/gfileutils.c: Fix some C99isms. (#154676, Kjartan Maraas) diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 2b6cd9d49..60f718ad7 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,9 @@ +2004-10-08 Matthias Clasen + + * glib/gmain.c (g_child_watch_add_full): + * glib/gmain.c (g_child_watch_add): Document that GLib supports only + a single callback per pid. (#154828, Gustavo Carneiro) + 2004-10-06 Matthias Clasen * glib/gfileutils.c: Fix some C99isms. (#154676, Kjartan Maraas) diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index 2b6cd9d49..60f718ad7 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,9 @@ +2004-10-08 Matthias Clasen + + * glib/gmain.c (g_child_watch_add_full): + * glib/gmain.c (g_child_watch_add): Document that GLib supports only + a single callback per pid. (#154828, Gustavo Carneiro) + 2004-10-06 Matthias Clasen * glib/gfileutils.c: Fix some C99isms. (#154676, Kjartan Maraas) diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 2b6cd9d49..60f718ad7 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,9 @@ +2004-10-08 Matthias Clasen + + * glib/gmain.c (g_child_watch_add_full): + * glib/gmain.c (g_child_watch_add): Document that GLib supports only + a single callback per pid. (#154828, Gustavo Carneiro) + 2004-10-06 Matthias Clasen * glib/gfileutils.c: Fix some C99isms. (#154676, Kjartan Maraas) diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 2b6cd9d49..60f718ad7 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,9 @@ +2004-10-08 Matthias Clasen + + * glib/gmain.c (g_child_watch_add_full): + * glib/gmain.c (g_child_watch_add): Document that GLib supports only + a single callback per pid. (#154828, Gustavo Carneiro) + 2004-10-06 Matthias Clasen * glib/gfileutils.c: Fix some C99isms. (#154676, Kjartan Maraas) diff --git a/glib/gmain.c b/glib/gmain.c index e33067f62..25027f700 100644 --- a/glib/gmain.c +++ b/glib/gmain.c @@ -3715,6 +3715,8 @@ g_child_watch_source_new (GPid pid) * source is still active. Typically, you will want to call * g_spawn_close_pid() in the callback function for the source. * + * GLib supports only a single callback per process id. + * * Return value: the id of event source. * * Since: 2.4 @@ -3757,6 +3759,8 @@ g_child_watch_add_full (gint priority, * source is still active. Typically, you will want to call * g_spawn_close_pid() in the callback function for the source. * + * GLib supports only a single callback per process id. + * * Return value: the id of event source. * * Since: 2.4