[PATCH] iface-modem: fix mm_iface_modem_initialize_finish
Ben Chan
benchan at chromium.org
Wed Jul 12 08:14:54 UTC 2017
This fixes commit 66f10d61a20e6c661cb04225835ec7a343f4fe36
("iface-modem: port mm_iface_modem_initialize to use GTask"), which
didn't update mm_iface_modem_initialize_finish to use
g_task_propagate_boolean.
---
src/mm-iface-modem.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mm-iface-modem.c b/src/mm-iface-modem.c
index e79e55c3..418de1c7 100644
--- a/src/mm-iface-modem.c
+++ b/src/mm-iface-modem.c
@@ -4940,7 +4940,7 @@ mm_iface_modem_initialize_finish (MMIfaceModem *self,
GAsyncResult *res,
GError **error)
{
- return !g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (res), error);
+ return g_task_propagate_boolean (G_TASK (res), error);
}
void
--
2.13.2.932.g7449e964c-goog
More information about the ModemManager-devel
mailing list