diff options
Diffstat (limited to 'system/pcmanfm/patches/0008-3585895-Fix-for-SIGSEGV-in-get_nearest_item-with-foc.patch')
-rw-r--r-- | system/pcmanfm/patches/0008-3585895-Fix-for-SIGSEGV-in-get_nearest_item-with-foc.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/system/pcmanfm/patches/0008-3585895-Fix-for-SIGSEGV-in-get_nearest_item-with-foc.patch b/system/pcmanfm/patches/0008-3585895-Fix-for-SIGSEGV-in-get_nearest_item-with-foc.patch deleted file mode 100644 index 81d1c90cd4..0000000000 --- a/system/pcmanfm/patches/0008-3585895-Fix-for-SIGSEGV-in-get_nearest_item-with-foc.patch +++ /dev/null @@ -1,26 +0,0 @@ -From f1902e6d9f5f84052f5fef93ac45180e3c6613fb Mon Sep 17 00:00:00 2001 -From: Andriy Grytsenko <andrej@rep.kiev.ua> -Date: Tue, 20 Nov 2012 14:19:07 +0200 -Subject: [PATCH 08/11] [#3585895]Fix for SIGSEGV in get_nearest_item() with - focus=NULL. - ---- - src/desktop.c | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/src/desktop.c b/src/desktop.c -index c960563..66201f7 100644 ---- a/src/desktop.c -+++ b/src/desktop.c -@@ -1466,6 +1466,8 @@ static FmDesktopItem* get_nearest_item(FmDesktop* desktop, FmDesktopItem* item, - - if(!gtk_tree_model_get_iter_first(model, &it)) - return NULL; -+ if(!item) /* there is no focused item yet, select first one then */ -+ return fm_folder_model_get_item_userdata(desktop->model, &it); - - min_x_dist = min_y_dist = (guint)-1; - item2 = NULL; --- -1.8.0.1 - |