aboutsummaryrefslogtreecommitdiff
path: root/src/mm-plugin-manager.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2015-12-02 17:07:11 +0100
committerAleksander Morgado <aleksander@aleksander.es>2015-12-02 17:07:39 +0100
commitffde4298435bf1e3232042c6ac7cb61ddfc1a183 (patch)
treed68bbc0f6b20eeb5fbbf754aca434b5f050f720b /src/mm-plugin-manager.c
parent2a99bdfa00c8b26266049e2c760ec7705c0ae739 (diff)
core: use G_SOURCE_REMOVE and G_SOURCE_CONTINUE in GSourceFuncs
Diffstat (limited to 'src/mm-plugin-manager.c')
-rw-r--r--src/mm-plugin-manager.c4
1 files changed, 2 insertions, 2 deletions
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