[nautilus/gnome-3-18] pathbar: extra unref causing crashes



commit 470e52bdd3b079defe623aeeac065ac236f44b2a
Author: Carlos Soriano <csoriano gnome org>
Date:   Thu Nov 12 17:44:33 2015 +0100

    pathbar: extra unref causing crashes
    
    We unref in unschedule, so not need to do it here, which
    causes that we unref twice a file and therefore crashes
    randomly after some time if the user uses the rigth click
    menu of the pathbar

 src/nautilus-pathbar.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/nautilus-pathbar.c b/src/nautilus-pathbar.c
index 8e8319a..f574f83 100644
--- a/src/nautilus-pathbar.c
+++ b/src/nautilus-pathbar.c
@@ -1469,7 +1469,6 @@ pop_up_pathbar_context_menu (NautilusPathBar *path_bar,
 {
        if (file) {
                schedule_pop_up_context_menu (path_bar, event, file);
-               nautilus_file_unref (file);
        }
 }
 


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