broadband-modem-qmi: fix return type of GSourceFunc callback
This commit is contained in:
@@ -2070,7 +2070,7 @@ dms_check_current_operating_mode_ready (QmiClientDms *client,
|
|||||||
g_object_unref (task);
|
g_object_unref (task);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static gboolean
|
||||||
dms_set_operating_mode_timeout_cb (MMBroadbandModemQmi *self)
|
dms_set_operating_mode_timeout_cb (MMBroadbandModemQmi *self)
|
||||||
{
|
{
|
||||||
GTask *task;
|
GTask *task;
|
||||||
@@ -2105,7 +2105,8 @@ dms_set_operating_mode_timeout_cb (MMBroadbandModemQmi *self)
|
|||||||
NULL,
|
NULL,
|
||||||
(GAsyncReadyCallback)dms_check_current_operating_mode_ready,
|
(GAsyncReadyCallback)dms_check_current_operating_mode_ready,
|
||||||
task);
|
task);
|
||||||
|
|
||||||
|
return G_SOURCE_REMOVE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Reference in New Issue
Block a user