mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-25 11:42:10 +01:00
tests: Fix the prototype of a GChildWatchFunc in spawn-multithreaded
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
parent
ca99cf032d
commit
3f753b0fa3
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user