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

@@ -126,7 +126,7 @@ connect_retry_ndisstatqry_check_cb (MMBroadbandBearerHuawei *self)
/* Retry same step */
connect_3gpp_context_step (ctx);
return FALSE;
return G_SOURCE_REMOVE;
}
static void
@@ -505,7 +505,7 @@ disconnect_retry_ndisstatqry_check_cb (MMBroadbandBearerHuawei *self)
/* Retry same step */
disconnect_3gpp_context_step (ctx);
return FALSE;
return G_SOURCE_REMOVE;
}
static void
@@ -705,7 +705,7 @@ network_disconnect_3gpp_delayed (MMBroadbandBearerHuawei *self)
self->priv->network_disconnect_pending_id = 0;
mm_base_bearer_report_connection_status (MM_BASE_BEARER (self),
MM_BEARER_CONNECTION_STATUS_DISCONNECTED);
return FALSE;
return G_SOURCE_REMOVE;
}
static void

View File

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

@@ -328,7 +328,7 @@ first_interface_missing_timeout_cb (MMDevice *device)
/* Reload the timeout, just in case we end up not having the next interface to probe...
* which is anyway very unlikely as we got it by looking at the real probe list, but anyway... */
return TRUE;
return G_SOURCE_CONTINUE;
}
static void