core: use G_SOURCE_REMOVE and G_SOURCE_CONTINUE in GSourceFuncs

This commit is contained in:
Aleksander Morgado
2015-12-02 17:07:11 +01:00
parent 2a99bdfa00
commit ffde429843
35 changed files with 73 additions and 73 deletions

View File

@@ -272,7 +272,7 @@ poll_timeout_cb (MMBroadbandBearerMbm *self)
MM_MOBILE_EQUIPMENT_ERROR_NETWORK_TIMEOUT,
"Connection attempt timed out");
dial_3gpp_context_complete_and_free (ctx);
return FALSE;
return G_SOURCE_REMOVE;
}
ctx->poll_count++;
@@ -286,7 +286,7 @@ poll_timeout_cb (MMBroadbandBearerMbm *self)
(GAsyncReadyCallback)poll_ready,
g_object_ref (ctx->self)); /* we pass the bearer object! */
self->priv->connect_pending_id = 0;
return FALSE;
return G_SOURCE_REMOVE;
}
static void

View File

@@ -181,7 +181,7 @@ after_sim_unlock_wait_cb (GSimpleAsyncResult *result)
{
g_simple_async_result_complete (result);
g_object_unref (result);
return FALSE;
return G_SOURCE_REMOVE;
}
static void

View File

@@ -90,7 +90,7 @@ cpin_query_cb (SendPinPukContext *ctx)
FALSE,
(GAsyncReadyCallback)cpin_query_ready,
ctx);
return FALSE;
return G_SOURCE_REMOVE;
}
static void