[gnome-control-center] network: Fix a crash on IPv6 settings dialog



commit c12cb2106503ce8a5561df42008e485aa013dccd
Author: Rui Matos <tiagomatos gmail com>
Date:   Fri Mar 27 14:37:51 2015 +0100

    network: Fix a crash on IPv6 settings dialog
    
    Commit 219a94ed1ec3404c1893446e0590dc079e988921 added a
    g_object_unref() on the wrong line.

 panels/network/connection-editor/ce-page-ip6.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/network/connection-editor/ce-page-ip6.c b/panels/network/connection-editor/ce-page-ip6.c
index 20c4b60..16deb00 100644
--- a/panels/network/connection-editor/ce-page-ip6.c
+++ b/panels/network/connection-editor/ce-page-ip6.c
@@ -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) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]