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

@@ -161,7 +161,7 @@ poll_connection (MMBroadbandBearerNovatelLte *bearer)
bearer);
g_object_unref (modem);
return TRUE;
return G_SOURCE_CONTINUE;
}
static void
@@ -248,7 +248,7 @@ connect_3gpp_qmistatus (DetailedConnectContext *ctx)
(GAsyncReadyCallback)connect_3gpp_qmistatus_ready, /* callback */
ctx); /* user_data */
return FALSE;
return G_SOURCE_REMOVE;
}
static void
@@ -463,7 +463,7 @@ disconnect_3gpp_qmistatus (DetailedDisconnectContext *ctx)
NULL, /* cancellable */
(GAsyncReadyCallback)disconnect_3gpp_status_ready,
ctx); /* user_data */
return FALSE;
return G_SOURCE_REMOVE;
}

View File

@@ -164,7 +164,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

@@ -84,7 +84,7 @@ static gboolean
custom_init_wait_cb (CustomInitContext *ctx)
{
custom_init_step (ctx);
return FALSE;
return G_SOURCE_REMOVE;
}
static void