From ffde4298435bf1e3232042c6ac7cb61ddfc1a183 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Wed, 2 Dec 2015 17:07:11 +0100 Subject: core: use G_SOURCE_REMOVE and G_SOURCE_CONTINUE in GSourceFuncs --- src/mm-plugin-manager.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mm-plugin-manager.c') diff --git a/src/mm-plugin-manager.c b/src/mm-plugin-manager.c index 567555ba..734fbc12 100644 --- a/src/mm-plugin-manager.c +++ b/src/mm-plugin-manager.c @@ -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 -- cgit v1.2.3-70-g09d2