aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2017-07-17 10:13:18 +0200
committerAleksander Morgado <aleksander@aleksander.es>2017-07-17 10:20:17 +0200
commitf3a301db3c62ebe1ed1a89aa2d98765ac66759fc (patch)
treeb61e8270f2992fc9d3f6f1bda058b4c38cc821bd
parente2246da507c4f93ec2f0f885586e6e5748cb829d (diff)
option: fix async completion in 3gpp event handlers setting
-rw-r--r--plugins/option/mm-broadband-modem-option.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/option/mm-broadband-modem-option.c b/plugins/option/mm-broadband-modem-option.c
index d53fd4cb..ff3f10a3 100644
--- a/plugins/option/mm-broadband-modem-option.c
+++ b/plugins/option/mm-broadband-modem-option.c
@@ -911,7 +911,7 @@ parent_setup_unsolicited_events_ready (MMIfaceModem3gpp *self,
else {
/* Our own setup now */
set_unsolicited_events_handlers (MM_BROADBAND_MODEM_OPTION (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);
@@ -947,7 +947,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);
}