diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2013-03-05 20:47:58 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2013-03-05 20:47:58 +0100 |
commit | 14c03f98ad9d25af117c0d161676fb1f9f481005 (patch) | |
tree | d12ca6425542cc72e0b2cd48669050fec3f96aed | |
parent | 144cc7011ea62426af784607e431318ae113361e (diff) |
mbm: fix 3gpp dialling sequence when result comes through polling
-rw-r--r-- | plugins/mbm/mm-broadband-bearer-mbm.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/mbm/mm-broadband-bearer-mbm.c b/plugins/mbm/mm-broadband-bearer-mbm.c index 264d084b..56c68ff8 100644 --- a/plugins/mbm/mm-broadband-bearer-mbm.c +++ b/plugins/mbm/mm-broadband-bearer-mbm.c @@ -228,7 +228,9 @@ poll_ready (MMBaseModem *modem, self->priv->connect_cancellable_id = 0; } - g_simple_async_result_set_op_res_gboolean (ctx->result, TRUE); + g_simple_async_result_set_op_res_gpointer (ctx->result, + g_object_ref (ctx->data), + (GDestroyNotify)g_object_unref); dial_3gpp_context_complete_and_free (ctx); return; } |