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.
This commit is contained in:
Aleksander Morgado
2012-09-14 07:05:23 +02:00
parent 96928909b9
commit 667026f0c8
7 changed files with 96 additions and 30 deletions
+2
View File
@@ -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);