network: Fix a crash on IPv6 settings dialog

Commit 219a94ed1e added a
g_object_unref() on the wrong line.
This commit is contained in:
Rui Matos 2015-03-27 14:37:51 +01:00
parent ff16c19832
commit c12cb21065

View file

@ -625,9 +625,9 @@ connect_ip6_page (CEPageIP6 *page)
METHOD_COL_NAME, _("Link-Local Only"),
METHOD_COL_METHOD, IP6_METHOD_LINK_LOCAL,
-1);
g_object_unref (G_OBJECT (store));
gtk_combo_box_set_model (page->method, GTK_TREE_MODEL (store));
g_object_unref (G_OBJECT (store));
method = IP6_METHOD_AUTO;
if (g_strcmp0 (str_method, NM_SETTING_IP6_CONFIG_METHOD_DHCP) == 0) {