aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2014-02-26 00:31:27 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2014-02-26 18:55:39 +0800
commitba5187f04923631b7d7b1d770577d60292ea7c07 (patch)
tree90cc0f1b3e39e06eb23cb3e449375b7e437d58fc
parentd91d34838448da5145035e3715db743d08e0761d (diff)
downloadgsoc2013-empathy-ba5187f04923631b7d7b1d770577d60292ea7c07.tar
gsoc2013-empathy-ba5187f04923631b7d7b1d770577d60292ea7c07.tar.gz
gsoc2013-empathy-ba5187f04923631b7d7b1d770577d60292ea7c07.tar.bz2
gsoc2013-empathy-ba5187f04923631b7d7b1d770577d60292ea7c07.tar.lz
gsoc2013-empathy-ba5187f04923631b7d7b1d770577d60292ea7c07.tar.xz
gsoc2013-empathy-ba5187f04923631b7d7b1d770577d60292ea7c07.tar.zst
gsoc2013-empathy-ba5187f04923631b7d7b1d770577d60292ea7c07.zip
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 fa55128cb..4eb83348f 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,