aboutsummaryrefslogtreecommitdiff
path: root/libraries/libfm/patches/0021-Fix-over-previous-commit-it-leaded-to-crash.patch
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2013-11-05 17:00:48 +0100
committerRobby Workman <rworkman@slackbuilds.org>2013-11-06 00:57:21 -0600
commit7423152ca41ea24cdb567297e73ff943ba1eff3e (patch)
tree3a6e9aa32ce51c5b8c987ddde700c81be4a70d1b /libraries/libfm/patches/0021-Fix-over-previous-commit-it-leaded-to-crash.patch
parent59a7ed6157ef6ff4249e4c7b2a812b14cd474578 (diff)
libraries/libfm: Updated for version 20131102_7e1f053.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/libfm/patches/0021-Fix-over-previous-commit-it-leaded-to-crash.patch')
-rw-r--r--libraries/libfm/patches/0021-Fix-over-previous-commit-it-leaded-to-crash.patch46
1 files changed, 0 insertions, 46 deletions
diff --git a/libraries/libfm/patches/0021-Fix-over-previous-commit-it-leaded-to-crash.patch b/libraries/libfm/patches/0021-Fix-over-previous-commit-it-leaded-to-crash.patch
deleted file mode 100644
index ba8a02fdcadbb..0000000000000
--- a/libraries/libfm/patches/0021-Fix-over-previous-commit-it-leaded-to-crash.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-From 01c1de235d7bdf702f8d1dfc99645b57afe3deec Mon Sep 17 00:00:00 2001
-From: Andriy Grytsenko <andrej@rep.kiev.ua>
-Date: Sat, 24 Nov 2012 19:34:44 +0200
-Subject: [PATCH 21/22] Fix over previous commit: it leaded to crash.
-
-The last fix was incorrect since it updated selection after the
-model was actually unset in FmStandardView but still in ExoIconView
-therefore it crashed in raised callbacks.
-The commit does it simpler by unselecting them all. That will
-still send a signal about reset selection but will not conflict.
----
- src/gtk/fm-folder-view.c | 3 +++
- src/gtk/fm-standard-view.c | 3 ---
- 2 files changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/src/gtk/fm-folder-view.c b/src/gtk/fm-folder-view.c
-index d7fa53e..240f0e3 100644
---- a/src/gtk/fm-folder-view.c
-+++ b/src/gtk/fm-folder-view.c
-@@ -624,6 +624,9 @@ void fm_folder_view_set_model(FmFolderView* fv, FmFolderModel* model)
- {
- fm_folder_model_get_sort(old_model, &by, &mode);
- unset_model(fv, old_model);
-+ /* https://bugs.launchpad.net/ubuntu/+source/pcmanfm/+bug/1071231:
-+ after changing the folder selection isn't reset */
-+ iface->unselect_all(fv);
- }
- /* FIXME: which setting to apply if this is first model? */
- iface->set_model(fv, model);
-diff --git a/src/gtk/fm-standard-view.c b/src/gtk/fm-standard-view.c
-index 1ff55ae..175cced 100644
---- a/src/gtk/fm-standard-view.c
-+++ b/src/gtk/fm-standard-view.c
-@@ -275,9 +275,6 @@ static void unset_model(FmStandardView* fv)
- /* g_debug("unset_model: %p, n_ref = %d", model, G_OBJECT(model)->ref_count); */
- g_object_unref(model);
- fv->model = NULL;
-- /* https://bugs.launchpad.net/ubuntu/+source/pcmanfm/+bug/1071231:
-- after changing the folder selection isn't reset */
-- on_sel_changed(NULL, fv);
- }
- }
-
---
-1.8.0.1
-