diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2012-09-28 20:04:13 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-09-28 21:26:57 -0500 |
commit | 3f5c518a4f60f6973b2ed71b99e8be6e13e160dc (patch) | |
tree | 4e83c7783ed963b77b4afc8b75e7a6a354d15804 /libraries/libfm/libfm_issue_3557764.patch | |
parent | 5ccfa068d73b4f63c566b858f55061f1c1bc671c (diff) | |
download | slackbuilds-3f5c518a4f60f6973b2ed71b99e8be6e13e160dc.tar.gz |
libraries/libfm: Updated for version 1.0.1.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/libfm/libfm_issue_3557764.patch')
-rw-r--r-- | libraries/libfm/libfm_issue_3557764.patch | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/libraries/libfm/libfm_issue_3557764.patch b/libraries/libfm/libfm_issue_3557764.patch deleted file mode 100644 index adec5a84f9..0000000000 --- a/libraries/libfm/libfm_issue_3557764.patch +++ /dev/null @@ -1,42 +0,0 @@ -From f5dd721cd06761af60ea6003fa8832a65df2ea7e Mon Sep 17 00:00:00 2001 -From: Andriy Grytsenko <andrej@rep.kiev.ua> -Date: Thu, 16 Aug 2012 02:45:36 +0300 -Subject: [PATCH] quickfix for #3557764: pcmanfm-1.0 segfault in fm_file_info_is_image - ---- - src/gtk/fm-folder-model.c | 7 ++++++- - 1 files changed, 6 insertions(+), 1 deletions(-) - -diff --git a/src/gtk/fm-folder-model.c b/src/gtk/fm-folder-model.c -index b80aa5c..2406698 100644 ---- a/src/gtk/fm-folder-model.c -+++ b/src/gtk/fm-folder-model.c -@@ -1331,12 +1331,16 @@ static void on_thumbnail_max_changed(FmConfig* cfg, gpointer user_data) - { - FmFolderModel* model = (FmFolderModel*)user_data; - FmThumbnailRequest* req; -- GList* new_reqs = NULL, *l; -+ GList* new_reqs = NULL; - GSequenceIter* seq_it; - FmFileInfo* fi; - guint thumbnail_max_bytes = fm_config->thumbnail_max << 10; - goffset size; - -+#if 0 -+ /* disabled due to bug #3557764: pcmanfm-1.0 segfault in fm_file_info_is_image -+ access to FmThumbnailRequest is dangerous in this implementation -+ and thumbnail generator anyway respects cfg->thumbnail_max */ - if(cfg->thumbnail_max) - { - /* remove files which are too big from thumbnail requests -@@ -1357,6 +1361,7 @@ static void on_thumbnail_max_changed(FmConfig* cfg, gpointer user_data) - l = next; - } - } -+#endif - seq_it = g_sequence_get_begin_iter(model->items); - while( !g_sequence_iter_is_end(seq_it) ) - { --- -1.7.4.1 - |