core: use G_SOURCE_REMOVE and G_SOURCE_CONTINUE in GSourceFuncs

This commit is contained in:
Aleksander Morgado
2015-12-02 17:07:39 +01:00
parent 2a99bdfa00
commit ffde429843
35 changed files with 73 additions and 73 deletions
+2 -2
View File
@@ -334,7 +334,7 @@ deferred_support_check_idle (PortProbeContext *port_probe_ctx)
{
port_probe_ctx->defer_id = 0;
port_probe_context_step (port_probe_ctx);
return FALSE;
return G_SOURCE_REMOVE;
}
static void
@@ -765,7 +765,7 @@ min_wait_timeout_cb (FindDeviceSupportContext *ctx)
ctx->timeout_id = g_timeout_add (MIN_PROBING_TIME_MSECS - MIN_WAIT_TIME_MSECS,
(GSourceFunc)min_probing_timeout_cb,
ctx);
return FALSE;
return G_SOURCE_REMOVE;
}
void