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



commit 53c4f679c5316cb410e7d3c9436f955a7c692cf2
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 5d95110..00e44ec 100644
--- a/panels/network/connection-editor/ce-page-ip6.c
+++ b/panels/network/connection-editor/ce-page-ip6.c
@@ -642,9 +642,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]