[empathy] tp-chat: use tp_text_channel_get_chat_state()



commit 27be4b94abb1b2c9311f54d3f4daff88bc07ca08
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Thu May 10 15:47:30 2012 +0200

    tp-chat: use tp_text_channel_get_chat_state()
    
    https://bugzilla.gnome.org/show_bug.cgi?id=675807

 libempathy/empathy-tp-chat.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libempathy/empathy-tp-chat.c b/libempathy/empathy-tp-chat.c
index 3e55915..431de6e 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 *



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