X-Git-Url: https://git.0d.be/?p=empathy.git;a=blobdiff_plain;f=libempathy%2Fempathy-tp-contact-list.c;fp=libempathy%2Fempathy-tp-contact-list.c;h=f116d15d35ae2c25033a1a706f84729ae6bd5f63;hp=d3964d6bc7bcca67976514cc5073b6f1ac29b713;hb=67869e50ff885ea10280447edbe6ee22520e26cb;hpb=4532530cec308a87223f46cd3724c1868849937f diff --git a/libempathy/empathy-tp-contact-list.c b/libempathy/empathy-tp-contact-list.c index d3964d6b..f116d15d 100644 --- a/libempathy/empathy-tp-contact-list.c +++ b/libempathy/empathy-tp-contact-list.c @@ -1068,20 +1068,6 @@ tp_contact_list_get_pendings (EmpathyContactList *list) return ret; } -static GList * -tp_contact_list_get_all_groups (EmpathyContactList *list) -{ - EmpathyTpContactListPriv *priv = GET_PRIV (list); - GList *ret, *l; - - ret = g_hash_table_get_keys (priv->groups); - for (l = ret; l; l = l->next) { - l->data = g_strdup (l->data); - } - - return ret; -} - static GList * tp_contact_list_get_groups (EmpathyContactList *list, EmpathyContact *contact) @@ -1205,7 +1191,6 @@ tp_contact_list_iface_init (EmpathyContactListIface *iface) iface->remove = tp_contact_list_remove; iface->get_members = tp_contact_list_get_members; iface->get_pendings = tp_contact_list_get_pendings; - iface->get_all_groups = tp_contact_list_get_all_groups; iface->get_groups = tp_contact_list_get_groups; iface->add_to_group = tp_contact_list_add_to_group; iface->remove_from_group = tp_contact_list_remove_from_group;