diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2008-01-02 06:10:22 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2008-01-02 06:10:22 +0800 |
commit | 5ba8e4047cf01d47781db85b2c400e67b84026a9 (patch) | |
tree | 164870ce992ada4185388a2a4f70fb68996f6649 /libempathy/empathy-contact-list.c | |
parent | 6fd6f3b1081a5b72054ef135346da0d5eb979590 (diff) | |
download | gsoc2013-empathy-5ba8e4047cf01d47781db85b2c400e67b84026a9.tar gsoc2013-empathy-5ba8e4047cf01d47781db85b2c400e67b84026a9.tar.gz gsoc2013-empathy-5ba8e4047cf01d47781db85b2c400e67b84026a9.tar.bz2 gsoc2013-empathy-5ba8e4047cf01d47781db85b2c400e67b84026a9.tar.lz gsoc2013-empathy-5ba8e4047cf01d47781db85b2c400e67b84026a9.tar.xz gsoc2013-empathy-5ba8e4047cf01d47781db85b2c400e67b84026a9.tar.zst gsoc2013-empathy-5ba8e4047cf01d47781db85b2c400e67b84026a9.zip |
Add a remove option to delete a contact group. Fixes bug #459520 (David Turner).
svn path=/trunk/; revision=528
Diffstat (limited to 'libempathy/empathy-contact-list.c')
-rw-r--r-- | libempathy/empathy-contact-list.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libempathy/empathy-contact-list.c b/libempathy/empathy-contact-list.c index 563265267..5164ccf1a 100644 --- a/libempathy/empathy-contact-list.c +++ b/libempathy/empathy-contact-list.c @@ -203,3 +203,15 @@ empathy_contact_list_rename_group (EmpathyContactList *list, } } +void +empathy_contact_list_remove_group (EmpathyContactList *list, + const gchar *group) +{ + g_return_if_fail (EMPATHY_IS_CONTACT_LIST (list)); + g_return_if_fail (group != NULL); + + if (EMPATHY_CONTACT_LIST_GET_IFACE (list)->remove_group) { + EMPATHY_CONTACT_LIST_GET_IFACE (list)->remove_group (list, group); + } +} + |