summaryrefslogtreecommitdiff
path: root/glib/tests/timeout.c
diff options
context:
space:
mode:
Diffstat (limited to 'glib/tests/timeout.c')
-rw-r--r--glib/tests/timeout.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/glib/tests/timeout.c b/glib/tests/timeout.c
index 88d5ffe66..2d78723d8 100644
--- a/glib/tests/timeout.c
+++ b/glib/tests/timeout.c
@@ -8,13 +8,15 @@ stop_waiting (gpointer data)
{
g_main_loop_quit (loop);
- return FALSE;
+ return G_SOURCE_REMOVE;
}
static gboolean
function (gpointer data)
{
g_assert_not_reached ();
+
+ return G_SOURCE_REMOVE;
}
static void