[nautilus] pathbar: extra unref causing crashes



commit b277862fa3fc164288d66a355dd2903b0bd70fbb
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 057b842..8505b90 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]