aboutsummaryrefslogtreecommitdiff
path: root/plugins/simtech/mm-broadband-modem-simtech.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2017-07-17 10:16:19 +0200
committerAleksander Morgado <aleksander@aleksander.es>2017-07-17 10:20:17 +0200
commitef274b5fa2f9911caa55103282088c35ec66f8ec (patch)
treeeacb0c648931ef4a7249db2c7c8dcf49ff243d2b /plugins/simtech/mm-broadband-modem-simtech.c
parenta3c980c78b32ba53d1373e07e2535a7e15b03ebb (diff)
simtech: fix async completion in 3gpp event handlers setting
Diffstat (limited to 'plugins/simtech/mm-broadband-modem-simtech.c')
-rw-r--r--plugins/simtech/mm-broadband-modem-simtech.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/simtech/mm-broadband-modem-simtech.c b/plugins/simtech/mm-broadband-modem-simtech.c
index 488d4225..529e4438 100644
--- a/plugins/simtech/mm-broadband-modem-simtech.c
+++ b/plugins/simtech/mm-broadband-modem-simtech.c
@@ -135,7 +135,7 @@ parent_setup_unsolicited_events_ready (MMIfaceModem3gpp *self,
else {
/* Our own setup now */
set_unsolicited_events_handlers (MM_BROADBAND_MODEM_SIMTECH (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);
@@ -171,7 +171,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);
}