aboutsummaryrefslogtreecommitdiff
path: root/libmm-glib/mm-modem-messaging.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-02-09 13:07:29 +0100
committerAleksander Morgado <aleksander@lanedo.com>2012-03-15 14:15:02 +0100
commitb61c94016afe8a598f3b7f576430f790c6898a4f (patch)
tree39b72a452ac975db2504ef196085be5357cd791a /libmm-glib/mm-modem-messaging.c
parent8a4a7ca4dcd7d92d964733c5c30865354a7a6f82 (diff)
api,dbus: remove the option to send the SMS in the Create() call
An SMS must be first created with the Messaging interface, and then sent using the Send() method from the SMS-specific interface.
Diffstat (limited to 'libmm-glib/mm-modem-messaging.c')
-rw-r--r--libmm-glib/mm-modem-messaging.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libmm-glib/mm-modem-messaging.c b/libmm-glib/mm-modem-messaging.c
index ca1d583f..7eabf6a3 100644
--- a/libmm-glib/mm-modem-messaging.c
+++ b/libmm-glib/mm-modem-messaging.c
@@ -374,7 +374,6 @@ create_sms_ready (MMModemMessaging *self,
* mm_modem_messaging_create_sms:
* @self: A #MMModemMessaging.
* @properties: A ##MMSmsProperties object with the properties to use.
- * @send: #TRUE if the SMS should be also sent, #FALSE otherwise.
* @cancellable: (allow-none): A #GCancellable or %NULL.
* @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
* @user_data: User data to pass to @callback.
@@ -389,7 +388,6 @@ create_sms_ready (MMModemMessaging *self,
void
mm_modem_messaging_create (MMModemMessaging *self,
MMSmsProperties *properties,
- gboolean send,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data)
@@ -412,7 +410,6 @@ mm_modem_messaging_create (MMModemMessaging *self,
mm_gdbus_modem_messaging_call_create (
self,
dictionary,
- send,
cancellable,
(GAsyncReadyCallback)create_sms_ready,
ctx);
@@ -424,7 +421,6 @@ mm_modem_messaging_create (MMModemMessaging *self,
* mm_modem_create_sms_sync:
* @self: A #MMModemMessaging.
* @properties: A ##MMSmsProperties object with the properties to use.
- * @send: #TRUE if the SMS should be also sent, #FALSE otherwise.
* @cancellable: (allow-none): A #GCancellable or %NULL.
* @error: Return location for error or %NULL.
*
@@ -438,7 +434,6 @@ mm_modem_messaging_create (MMModemMessaging *self,
MMSms *
mm_modem_messaging_create_sync (MMModemMessaging *self,
MMSmsProperties *properties,
- gboolean send,
GCancellable *cancellable,
GError **error)
{
@@ -452,7 +447,6 @@ mm_modem_messaging_create_sync (MMModemMessaging *self,
MM_COMMON_SMS_PROPERTIES (properties)));
mm_gdbus_modem_messaging_call_create_sync (self,
dictionary,
- send,
&sms_path,
cancellable,
error);