[empathy] remove unused tp_chat_remove



commit 869f0b954dc31895406b3766cd432d0029afbb5b
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Tue Apr 10 13:20:53 2012 +0200

    remove unused tp_chat_remove
    
    empathy_contact_list_remove() is not used any more.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=673821

 libempathy/empathy-tp-chat.c |   18 ------------------
 1 files changed, 0 insertions(+), 18 deletions(-)
---
diff --git a/libempathy/empathy-tp-chat.c b/libempathy/empathy-tp-chat.c
index 28c0e2a..b13d097 100644
--- a/libempathy/empathy-tp-chat.c
+++ b/libempathy/empathy-tp-chat.c
@@ -216,23 +216,6 @@ empathy_tp_chat_add (EmpathyTpChat *self,
     }
 }
 
-static void
-tp_chat_remove (EmpathyContactList *list,
-    EmpathyContact *contact,
-    const gchar *message)
-{
-  EmpathyTpChat *self = (EmpathyTpChat *) list;
-  TpHandle handle;
-  GArray handles = {(gchar *) &handle, 1};
-
-  g_return_if_fail (EMPATHY_IS_TP_CHAT (list));
-  g_return_if_fail (EMPATHY_IS_CONTACT (contact));
-
-  handle = empathy_contact_get_handle (contact);
-  tp_cli_channel_interface_group_call_remove_members ((TpChannel *) self, -1,
-      &handles, NULL, NULL, NULL, NULL, NULL);
-}
-
 static GList *
 tp_chat_get_members (EmpathyContactList *list)
 {
@@ -1324,7 +1307,6 @@ empathy_tp_chat_init (EmpathyTpChat *self)
 static void
 tp_chat_iface_init (EmpathyContactListIface *iface)
 {
-  iface->remove = tp_chat_remove;
   iface->get_members = tp_chat_get_members;
 }
 



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