[PATCH] cli: fix source tag of GSimpleAsyncResult objects

Ben Chan benchan at chromium.org
Wed Dec 4 13:19:26 PST 2013


---
 cli/mmcli-common.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/cli/mmcli-common.c b/cli/mmcli-common.c
index 016d8bc..f7182d5 100644
--- a/cli/mmcli-common.c
+++ b/cli/mmcli-common.c
@@ -476,7 +476,7 @@ mmcli_get_bearer (GDBusConnection *connection,
     ctx->result = g_simple_async_result_new (G_OBJECT (connection),
                                              callback,
                                              user_data,
-                                             mmcli_get_modem);
+                                             mmcli_get_bearer);
     mmcli_get_manager (connection,
                        cancellable,
                        (GAsyncReadyCallback)get_bearer_manager_ready,
@@ -714,7 +714,7 @@ mmcli_get_sim (GDBusConnection *connection,
     ctx->result = g_simple_async_result_new (G_OBJECT (connection),
                                              callback,
                                              user_data,
-                                             mmcli_get_modem);
+                                             mmcli_get_sim);
     mmcli_get_manager (connection,
                        cancellable,
                        (GAsyncReadyCallback)get_sim_manager_ready,
@@ -977,7 +977,7 @@ mmcli_get_sms (GDBusConnection *connection,
     ctx->result = g_simple_async_result_new (G_OBJECT (connection),
                                              callback,
                                              user_data,
-                                             mmcli_get_modem);
+                                             mmcli_get_sms);
     mmcli_get_manager (connection,
                        cancellable,
                        (GAsyncReadyCallback)get_sms_manager_ready,
-- 
1.8.5.1



More information about the ModemManager-devel mailing list