aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-individual-view.c
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2010-07-02 00:03:59 +0800
committerTravis Reitter <treitter@gmail.com>2010-07-21 07:12:36 +0800
commit2fcee569ba4bf86f78b6b5d6c12bfeeecbb1c47e (patch)
tree3ecac9006bf0638fd3ec866bcaaa294bf92e73d0 /libempathy-gtk/empathy-individual-view.c
parent2999dda22d4d80df40420334273fcbb7aadac091 (diff)
downloadgsoc2013-empathy-2fcee569ba4bf86f78b6b5d6c12bfeeecbb1c47e.tar.gz
gsoc2013-empathy-2fcee569ba4bf86f78b6b5d6c12bfeeecbb1c47e.tar.zst
gsoc2013-empathy-2fcee569ba4bf86f78b6b5d6c12bfeeecbb1c47e.zip
Support removing groups
Diffstat (limited to 'libempathy-gtk/empathy-individual-view.c')
-rw-r--r--libempathy-gtk/empathy-individual-view.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-individual-view.c b/libempathy-gtk/empathy-individual-view.c
index e75f3629e..43d4a7856 100644
--- a/libempathy-gtk/empathy-individual-view.c
+++ b/libempathy-gtk/empathy-individual-view.c
@@ -1997,8 +1997,10 @@ individual_view_group_remove_activate_cb (GtkMenuItem *menuitem,
if (individual_view_remove_dialog_show (parent, _("Removing group"),
text))
{
- /* TODO: implement */
- DEBUG ("removing group unimplemented");
+ EmpathyIndividualManager *manager =
+ empathy_individual_manager_dup_singleton ();
+ empathy_individual_manager_remove_group (manager, group);
+ g_object_unref (G_OBJECT (manager));
}
g_free (text);