]> git.0d.be Git - empathy.git/commitdiff
Disconnect from the group-changed signal when destroying EmpathyGroupsWidget
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Wed, 25 Aug 2010 16:34:02 +0000 (17:34 +0100)
committerPhilip Withnall <philip.withnall@collabora.co.uk>
Wed, 25 Aug 2010 16:42:45 +0000 (17:42 +0100)
libempathy-gtk/empathy-groups-widget.c

index 98c2a6a4bc444ca4375b0d5a0b50a7c205530e52..7e50dfbe258eb2158b8865beaee79f83c051a4a6 100644 (file)
@@ -488,7 +488,7 @@ dispose (GObject *object)
 {
   EmpathyGroupsWidgetPriv *priv = GET_PRIV (object);
 
-  tp_clear_object (&priv->groupable);
+  empathy_groups_widget_set_groupable (EMPATHY_GROUPS_WIDGET (object), NULL);
   tp_clear_object (&priv->group_store);
 
   G_OBJECT_CLASS (empathy_groups_widget_parent_class)->dispose (object);