From 869f0b954dc31895406b3766cd432d0029afbb5b Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Tue, 10 Apr 2012 13:20:53 +0200 Subject: 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 file changed, 18 deletions(-) (limited to 'libempathy/empathy-tp-chat.c') diff --git a/libempathy/empathy-tp-chat.c b/libempathy/empathy-tp-chat.c index 28c0e2a19..b13d097dd 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; } -- cgit v1.2.3