Commit b46b9e3e authored by Pavel Vasin's avatar Pavel Vasin Committed by Guillaume Desmottes

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
parent 59ea9e4a
......@@ -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 *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment