summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2014-02-25 17:31:27 +0100
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2014-02-26 11:55:39 +0100
commitba5187f04923631b7d7b1d770577d60292ea7c07 (patch)
tree90cc0f1b3e39e06eb23cb3e449375b7e437d58fc
parentd91d34838448da5145035e3715db743d08e0761d (diff)
use tp_account_channel_request_set_sms_channel()
https://bugzilla.gnome.org/show_bug.cgi?id=725070
-rw-r--r--libempathy/empathy-request-util.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libempathy/empathy-request-util.c b/libempathy/empathy-request-util.c
index fa55128c..4eb83348 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,