diff options
author | 2014-08-27 12:27:31 +0200 | |
---|---|---|
committer | 2014-08-30 09:21:56 +0200 | |
commit | bd8268f5b115be7798a7d56fe240182384253c0a (patch) | |
tree | 3e60bc2042cd3fb1a66d4c75312bb7b194f5b003 /system/pcmanfm/patches/0008-3585895-Fix-for-SIGSEGV-in-get_nearest_item-with-foc.patch | |
parent | 9db5cd314013ed4c42dbbceefa36985dda9fab73 (diff) | |
download | slackbuilds-bd8268f5b115be7798a7d56fe240182384253c0a.tar.gz |
system/pcmanfm: Updated for version 1.2.2.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
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 - |