From 2ac5d620c458ddc8771ae6c8789608b87d58f56b Mon Sep 17 00:00:00 2001 From: Marco Bascetta Date: Wed, 3 Jun 2015 09:37:39 +0200 Subject: libmm-glib,cli: Replaced 'list call' with 'list calls' --- cli/mmcli-common.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'cli/mmcli-common.c') 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), -- cgit v1.2.3-70-g09d2