aboutsummaryrefslogtreecommitdiff
path: root/plugins/option
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/option
parent2a99bdfa00c8b26266049e2c760ec7705c0ae739 (diff)
core: use G_SOURCE_REMOVE and G_SOURCE_CONTINUE in GSourceFuncs
Diffstat (limited to 'plugins/option')
-rw-r--r--plugins/option/mm-broadband-bearer-hso.c2
-rw-r--r--plugins/option/mm-broadband-modem-option.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/option/mm-broadband-bearer-hso.c b/plugins/option/mm-broadband-bearer-hso.c
index f1c0445e..275dff83 100644
--- a/plugins/option/mm-broadband-bearer-hso.c
+++ b/plugins/option/mm-broadband-bearer-hso.c
@@ -438,7 +438,7 @@ connect_timed_out_cb (MMBroadbandBearerHso *self)
/* It's probably pointless to try to reset this here, but anyway... */
connect_reset (ctx);
- return FALSE;
+ return G_SOURCE_REMOVE;
}
static void
diff --git a/plugins/option/mm-broadband-modem-option.c b/plugins/option/mm-broadband-modem-option.c
index cf02ba30..583af5f9 100644
--- a/plugins/option/mm-broadband-modem-option.c
+++ b/plugins/option/mm-broadband-modem-option.c
@@ -675,7 +675,7 @@ after_power_up_wait_cb (GSimpleAsyncResult *result)
option->priv->after_power_up_wait_id = 0;
g_object_unref (option);
- return FALSE;
+ return G_SOURCE_REMOVE;
}
static void