aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-tp-chat.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-04-10 19:20:53 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-04-10 19:31:49 +0800
commit869f0b954dc31895406b3766cd432d0029afbb5b (patch)
tree63acbe46b088598faec881506b318a41e0192022 /libempathy/empathy-tp-chat.c
parentb659326acbfa02dab74fd88511673af0ddea81e6 (diff)
downloadgsoc2013-empathy-869f0b954dc31895406b3766cd432d0029afbb5b.tar
gsoc2013-empathy-869f0b954dc31895406b3766cd432d0029afbb5b.tar.gz
gsoc2013-empathy-869f0b954dc31895406b3766cd432d0029afbb5b.tar.bz2
gsoc2013-empathy-869f0b954dc31895406b3766cd432d0029afbb5b.tar.lz
gsoc2013-empathy-869f0b954dc31895406b3766cd432d0029afbb5b.tar.xz
gsoc2013-empathy-869f0b954dc31895406b3766cd432d0029afbb5b.tar.zst
gsoc2013-empathy-869f0b954dc31895406b3766cd432d0029afbb5b.zip
remove unused tp_chat_remove
empathy_contact_list_remove() is not used any more. https://bugzilla.gnome.org/show_bug.cgi?id=673821
Diffstat (limited to 'libempathy/empathy-tp-chat.c')
-rw-r--r--libempathy/empathy-tp-chat.c18
1 files changed, 0 insertions, 18 deletions
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;
}