Use G_SOURCE_CONTINUE/REMOVE internally
[platform/upstream/glib.git] / glib / tests / spawn-singlethread.c
index f29ecb8..42d88e6 100644 (file)
@@ -46,7 +46,7 @@ on_child_exited (GPid     pid,
   if (data->child_exited && data->stdout_done)
     g_main_loop_quit (data->loop);
   
-  return FALSE;
+  return G_SOURCE_REMOVE;
 }
 
 static gboolean