]> git.0d.be Git - empathy.git/commitdiff
remove unused tp_chat_remove
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Tue, 10 Apr 2012 11:20:53 +0000 (13:20 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Tue, 10 Apr 2012 11:31:49 +0000 (13:31 +0200)
empathy_contact_list_remove() is not used any more.

https://bugzilla.gnome.org/show_bug.cgi?id=673821

libempathy/empathy-tp-chat.c

index 28c0e2a19ec666a8040a4eb735f4dea6822098fb..b13d097dda590429baed1fb6be0eb33ce8984bfe 100644 (file)
@@ -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;
 }