[nautilus/wip/csoriano/view-menu: 2/5] list-view: fix a crash



commit 4aa559067c1b2cbc5d04b44465749502dba85601
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Wed Aug 12 18:47:13 2015 -0300

    list-view: fix a crash

 src/nautilus-list-view.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/nautilus-list-view.c b/src/nautilus-list-view.c
index a9c50d5..d39b681 100644
--- a/src/nautilus-list-view.c
+++ b/src/nautilus-list-view.c
@@ -3116,6 +3116,8 @@ nautilus_list_view_finalize (GObject *object)
                gtk_widget_destroy (list_view->details->column_editor);
        }
 
+        g_clear_object (&list_view->details->icon);
+
        g_free (list_view->details);
 
        g_signal_handlers_disconnect_by_func (nautilus_preferences,
@@ -3128,8 +3130,6 @@ nautilus_list_view_finalize (GObject *object)
                                              default_column_order_changed_callback,
                                              list_view);
 
-        g_clear_object (&list_view->details->icon);
-
        G_OBJECT_CLASS (nautilus_list_view_parent_class)->finalize (object);
 }
 


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