aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-chat.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-05-27 21:13:34 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-06-01 18:02:52 +0800
commiteaf1ecca8c31263cef90bfbb4839e7114719eed8 (patch)
treea8b413ba10f835c8337a4de06b903a592523d58c /libempathy-gtk/empathy-chat.c
parent7625bd2ae11f2c3064e3e208ea82fffa97dc7f18 (diff)
downloadgsoc2013-empathy-eaf1ecca8c31263cef90bfbb4839e7114719eed8.tar
gsoc2013-empathy-eaf1ecca8c31263cef90bfbb4839e7114719eed8.tar.gz
gsoc2013-empathy-eaf1ecca8c31263cef90bfbb4839e7114719eed8.tar.bz2
gsoc2013-empathy-eaf1ecca8c31263cef90bfbb4839e7114719eed8.tar.lz
gsoc2013-empathy-eaf1ecca8c31263cef90bfbb4839e7114719eed8.tar.xz
gsoc2013-empathy-eaf1ecca8c31263cef90bfbb4839e7114719eed8.tar.zst
gsoc2013-empathy-eaf1ecca8c31263cef90bfbb4839e7114719eed8.zip
Use tp-glib SMS high level API (#651242)
Diffstat (limited to 'libempathy-gtk/empathy-chat.c')
-rw-r--r--libempathy-gtk/empathy-chat.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c
index f026bbc8e..533b1e751 100644
--- a/libempathy-gtk/empathy-chat.c
+++ b/libempathy-gtk/empathy-chat.c
@@ -3642,7 +3642,8 @@ chat_sms_channel_changed_cb (EmpathyChat *self)
{
EmpathyChatPriv *priv = GET_PRIV (self);
- priv->sms_channel = empathy_tp_chat_is_sms_channel (priv->tp_chat);
+ priv->sms_channel = tp_text_channel_is_sms_channel (
+ (TpTextChannel *) priv->tp_chat);
g_object_notify (G_OBJECT (self), "sms-channel");
}
@@ -3703,7 +3704,7 @@ empathy_chat_set_tp_chat (EmpathyChat *chat,
g_signal_connect_swapped (tp_chat, "notify::password-needed",
G_CALLBACK (chat_password_needed_changed_cb),
chat);
- g_signal_connect_swapped (tp_chat, "notify::sms-channel",
+ g_signal_connect_swapped (tp_chat, "notify::is-sms-channel",
G_CALLBACK (chat_sms_channel_changed_cb),
chat);
g_signal_connect_swapped (tp_chat, "notify::n-messages-sending",