aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-tp-chat.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-05-10 21:47:30 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-05-10 21:58:29 +0800
commit27be4b94abb1b2c9311f54d3f4daff88bc07ca08 (patch)
tree695ca8956f9537141efa0ef1faa710ba8152c83e /libempathy/empathy-tp-chat.c
parent9c18d540a2361801b32d67d5afa9c150f376148d (diff)
downloadgsoc2013-empathy-27be4b94abb1b2c9311f54d3f4daff88bc07ca08.tar
gsoc2013-empathy-27be4b94abb1b2c9311f54d3f4daff88bc07ca08.tar.gz
gsoc2013-empathy-27be4b94abb1b2c9311f54d3f4daff88bc07ca08.tar.bz2
gsoc2013-empathy-27be4b94abb1b2c9311f54d3f4daff88bc07ca08.tar.lz
gsoc2013-empathy-27be4b94abb1b2c9311f54d3f4daff88bc07ca08.tar.xz
gsoc2013-empathy-27be4b94abb1b2c9311f54d3f4daff88bc07ca08.tar.zst
gsoc2013-empathy-27be4b94abb1b2c9311f54d3f4daff88bc07ca08.zip
tp-chat: use tp_text_channel_get_chat_state()
https://bugzilla.gnome.org/show_bug.cgi?id=675807
Diffstat (limited to 'libempathy/empathy-tp-chat.c')
-rw-r--r--libempathy/empathy-tp-chat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libempathy/empathy-tp-chat.c b/libempathy/empathy-tp-chat.c
index 3e55915b0..431de6e65 100644
--- a/libempathy/empathy-tp-chat.c
+++ b/libempathy/empathy-tp-chat.c
@@ -1261,8 +1261,8 @@ TpChannelChatState
empathy_tp_chat_get_chat_state (EmpathyTpChat *self,
EmpathyContact *contact)
{
- return tp_channel_get_chat_state ((TpChannel *) self,
- empathy_contact_get_handle (contact));
+ return tp_text_channel_get_chat_state ((TpTextChannel *) self,
+ empathy_contact_get_tp_contact (contact));
}
EmpathyContact *