diff options
-rw-r--r-- | plugins/mtk/mm-broadband-modem-mtk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mtk/mm-broadband-modem-mtk.c b/plugins/mtk/mm-broadband-modem-mtk.c index 4a4f9c13..621a093a 100644 --- a/plugins/mtk/mm-broadband-modem-mtk.c +++ b/plugins/mtk/mm-broadband-modem-mtk.c @@ -714,7 +714,7 @@ parent_setup_unsolicited_events_ready (MMIfaceModem3gpp *self, /* Our own setup now */ set_unsolicited_events_handlers (MM_BROADBAND_MODEM_MTK (self), TRUE); - g_simple_async_result_set_op_res_gboolean (G_SIMPLE_ASYNC_RESULT (res), TRUE); + g_simple_async_result_set_op_res_gboolean (simple, TRUE); } g_simple_async_result_complete (simple); @@ -750,7 +750,7 @@ parent_cleanup_unsolicited_events_ready (MMIfaceModem3gpp *self, if (!iface_modem_3gpp_parent->cleanup_unsolicited_events_finish (self, res, &error)) g_simple_async_result_take_error (simple, error); else - g_simple_async_result_set_op_res_gboolean (G_SIMPLE_ASYNC_RESULT (res), TRUE); + g_simple_async_result_set_op_res_gboolean (simple, TRUE); g_simple_async_result_complete (simple); g_object_unref (simple); } |