[glib: 10/12] tests: Fix the prototype of a GChildWatchFunc in spawn-multithreaded
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 10/12] tests: Fix the prototype of a GChildWatchFunc in spawn-multithreaded
- Date: Mon, 14 Mar 2022 12:52:45 +0000 (UTC)
commit 3f753b0fa3701548bda0cd5a97deec0ed88ea8b7
Author: Philip Withnall <pwithnall endlessos org>
Date: Sat Mar 12 01:37:23 2022 +0000
tests: Fix the prototype of a GChildWatchFunc in spawn-multithreaded
Signed-off-by: Philip Withnall <pwithnall endlessos org>
glib/tests/spawn-multithreaded.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/glib/tests/spawn-multithreaded.c b/glib/tests/spawn-multithreaded.c
index 51e21d651..9c0aa289d 100644
--- a/glib/tests/spawn-multithreaded.c
+++ b/glib/tests/spawn-multithreaded.c
@@ -88,7 +88,7 @@ get_a_child (gint ttl)
#endif /* G_OS_WIN32 */
}
-static gboolean
+static void
child_watch_callback (GPid pid, gint status, gpointer user_data)
{
SpawnChildsData *data = user_data;
@@ -100,8 +100,6 @@ child_watch_callback (GPid pid, gint status, gpointer user_data)
if (g_atomic_int_dec_and_test (data->n_alive))
g_main_loop_quit (data->main_loop);
-
- return TRUE;
}
static gpointer
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]