aboutsummaryrefslogtreecommitdiff
path: root/plugins/cinterion/mm-broadband-modem-cinterion.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 /plugins/cinterion/mm-broadband-modem-cinterion.c
parent2a99bdfa00c8b26266049e2c760ec7705c0ae739 (diff)
core: use G_SOURCE_REMOVE and G_SOURCE_CONTINUE in GSourceFuncs
Diffstat (limited to 'plugins/cinterion/mm-broadband-modem-cinterion.c')
-rw-r--r--plugins/cinterion/mm-broadband-modem-cinterion.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/cinterion/mm-broadband-modem-cinterion.c b/plugins/cinterion/mm-broadband-modem-cinterion.c
index 0135c8d9..f0fa630f 100644
--- a/plugins/cinterion/mm-broadband-modem-cinterion.c
+++ b/plugins/cinterion/mm-broadband-modem-cinterion.c
@@ -553,7 +553,7 @@ power_off_timeout_cb (PowerOffContext *ctx)
"Power off operation timed out");
power_off_context_complete_and_free (ctx);
- return FALSE;
+ return G_SOURCE_REMOVE;
}
static void
@@ -1588,7 +1588,7 @@ simstatus_timeout_cb (AfterSimUnlockContext *ctx)
{
ctx->timeout_id = 0;
after_sim_unlock_context_step (ctx);
- return FALSE;
+ return G_SOURCE_REMOVE;
}
static void