broadband-modem-qmi: fix return type of GSourceFunc callback

This commit is contained in:
Aleksander Morgado
2023-03-24 12:56:54 +00:00
parent 2568b2e6a3
commit 03b1422132

View File

@@ -2070,7 +2070,7 @@ dms_check_current_operating_mode_ready (QmiClientDms *client,
g_object_unref (task);
}
static void
static gboolean
dms_set_operating_mode_timeout_cb (MMBroadbandModemQmi *self)
{
GTask *task;
@@ -2105,7 +2105,8 @@ dms_set_operating_mode_timeout_cb (MMBroadbandModemQmi *self)
NULL,
(GAsyncReadyCallback)dms_check_current_operating_mode_ready,
task);
return G_SOURCE_REMOVE;
}
static void