aboutsummaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-09-10 14:18:00 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-09-14 07:05:23 +0200
commit667026f0c829ba1be3d69726d7145b3ecd224dbd (patch)
treec79fdaf183e4deddce34aac0ca9a05ab11f6c106 /cli
parent96928909b9294b319374f1440832fbd7d934e0cb (diff)
api: Sms.Store() now requires the specific memory storage where to store the SMS
... or MM_SMS_STORAGE_UNKNOWN to store it in the default storage.
Diffstat (limited to 'cli')
-rw-r--r--cli/mmcli-sms.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/mmcli-sms.c b/cli/mmcli-sms.c
index 4395f079..bc45a4a4 100644
--- a/cli/mmcli-sms.c
+++ b/cli/mmcli-sms.c
@@ -238,6 +238,7 @@ get_sms_ready (GObject *source,
/* Requesting to store the SMS? */
if (store_flag) {
mm_sms_store (ctx->sms,
+ MM_SMS_STORAGE_UNKNOWN,
ctx->cancellable,
(GAsyncReadyCallback)store_ready,
NULL);
@@ -302,6 +303,7 @@ mmcli_sms_run_synchronous (GDBusConnection *connection)
gboolean operation_result;
operation_result = mm_sms_store_sync (ctx->sms,
+ MM_SMS_STORAGE_UNKNOWN,
NULL,
&error);
store_process_reply (operation_result, error);