GDBus tests: Use G_SOURCE_REMOVE, G_SOURCE_CONTINUE

The meaning of the boolean result of a GSource function is clearer if
we use these aliases.

Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
Simon McVittie
2020-08-03 15:53:12 +01:00
committed by Philip Withnall
parent 51a135a272
commit 500d065f3d
10 changed files with 16 additions and 16 deletions

View File

@@ -95,7 +95,7 @@ static gboolean
overflow_on_500ms_later_func (gpointer user_data)
{
g_main_loop_quit (loop);
return FALSE; /* don't keep the idle */
return G_SOURCE_REMOVE;
}
static void