aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Vasin <rat4vier@gmail.com>2012-10-07 17:36:23 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-10-08 15:55:59 +0800
commitb46b9e3ec8dd67359b1e1b2b20678f6c322d41b3 (patch)
tree64f87987e6e798cc9d47f2d16ace2d2357311a24
parent59ea9e4abe4525b86615f404d4f493e9e4752a35 (diff)
downloadgsoc2013-empathy-b46b9e3ec8dd67359b1e1b2b20678f6c322d41b3.tar
gsoc2013-empathy-b46b9e3ec8dd67359b1e1b2b20678f6c322d41b3.tar.gz
gsoc2013-empathy-b46b9e3ec8dd67359b1e1b2b20678f6c322d41b3.tar.bz2
gsoc2013-empathy-b46b9e3ec8dd67359b1e1b2b20678f6c322d41b3.tar.lz
gsoc2013-empathy-b46b9e3ec8dd67359b1e1b2b20678f6c322d41b3.tar.xz
gsoc2013-empathy-b46b9e3ec8dd67359b1e1b2b20678f6c322d41b3.tar.zst
gsoc2013-empathy-b46b9e3ec8dd67359b1e1b2b20678f6c322d41b3.zip
contact-search-dialog: fix GtkSizeGroup leak
GtkSizeGroup objects are referenced by each widget in the size group, so once you have added all widgets to a GtkSizeGroup, you can drop the initial reference to the size group with g_object_unref(). https://bugzilla.gnome.org/show_bug.cgi?id=685652
-rw-r--r--libempathy-gtk/empathy-contact-search-dialog.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-contact-search-dialog.c b/libempathy-gtk/empathy-contact-search-dialog.c
index d1fd0cfb0..0a189b3e1 100644
--- a/libempathy-gtk/empathy-contact-search-dialog.c
+++ b/libempathy-gtk/empathy-contact-search-dialog.c
@@ -669,6 +669,7 @@ empathy_contact_search_dialog_init (EmpathyContactSearchDialog *self)
gtk_window_set_default_size (GTK_WINDOW (self), 200, 400);
gtk_widget_show_all (vbox);
gtk_widget_hide (priv->spinner);
+ g_object_unref (size_group);
}
GtkWidget *