aboutsummaryrefslogtreecommitdiff
path: root/cli/mmcli-common.c
diff options
context:
space:
mode:
authorMarco Bascetta <marco.bascetta@sadel.it>2015-06-03 09:37:39 +0200
committerAleksander Morgado <aleksander@aleksander.es>2015-08-02 10:39:48 +0200
commit2ac5d620c458ddc8771ae6c8789608b87d58f56b (patch)
tree6fba70f81c589fb51e5394a1130bcb8f522d4228 /cli/mmcli-common.c
parent9f3801df3f1ee8f5b8d9dfbf7e7a1968fdf85f0b (diff)
libmm-glib,cli: Replaced 'list call' with 'list calls'
Diffstat (limited to 'cli/mmcli-common.c')
-rw-r--r--cli/mmcli-common.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/cli/mmcli-common.c b/cli/mmcli-common.c
index 10c7fde5..b50776b6 100644
--- a/cli/mmcli-common.c
+++ b/cli/mmcli-common.c
@@ -1134,7 +1134,7 @@ list_call_ready (MMModemVoice *modem,
GList *call_list;
GError *error = NULL;
- call_list = mm_modem_voice_list_call_finish (modem, res, &error);
+ call_list = mm_modem_voice_list_calls_finish (modem, res, &error);
if (error) {
g_printerr ("error: couldn't list call at '%s': '%s'\n",
mm_modem_voice_get_path (modem),
@@ -1179,10 +1179,10 @@ look_for_call_in_modem (GetVoiceContext *ctx)
g_debug ("Looking for call '%s' in modem '%s'...",
ctx->call_path,
mm_object_get_path (ctx->current));
- mm_modem_voice_list_call (modem,
- ctx->cancellable,
- (GAsyncReadyCallback)list_call_ready,
- ctx);
+ mm_modem_voice_list_calls (modem,
+ ctx->cancellable,
+ (GAsyncReadyCallback)list_call_ready,
+ ctx);
g_object_unref (modem);
return;
}
@@ -1308,7 +1308,7 @@ mmcli_get_call_sync (GDBusConnection *connection,
if (!voice)
continue;
- call_list = mm_modem_voice_list_call_sync (voice, NULL, &error);
+ call_list = mm_modem_voice_list_calls_sync (voice, NULL, &error);
if (error) {
g_printerr ("error: couldn't list call at '%s': '%s'\n",
mm_modem_voice_get_path (voice),