[empathy] use tp_account_channel_request_set_sms_channel()



commit ba5187f04923631b7d7b1d770577d60292ea7c07
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Tue Feb 25 17:31:27 2014 +0100

    use tp_account_channel_request_set_sms_channel()
    
    https://bugzilla.gnome.org/show_bug.cgi?id=725070

 libempathy/empathy-request-util.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/libempathy/empathy-request-util.c b/libempathy/empathy-request-util.c
index fa55128..4eb8334 100644
--- a/libempathy/empathy-request-util.c
+++ b/libempathy/empathy-request-util.c
@@ -67,9 +67,7 @@ create_text_channel (TpAccount *account,
   tp_account_channel_request_set_delegate_to_preferred_handler (req, TRUE);
 
   if (sms_channel)
-    tp_account_channel_request_set_request_property (req,
-        TP_PROP_CHANNEL_INTERFACE_SMS_SMS_CHANNEL,
-        g_variant_new_boolean (TRUE));
+    tp_account_channel_request_set_sms_channel (req, TRUE);
 
   tp_account_channel_request_ensure_channel_async (req,
       EMPATHY_CHAT_TP_BUS_NAME, NULL,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]