diff --git a/srcpkgs/Thunar/patches/fix-file_is_valid.patch b/srcpkgs/Thunar/patches/fix-file_is_valid.patch new file mode 100644 index 0000000000..f2e740b5d2 --- /dev/null +++ b/srcpkgs/Thunar/patches/fix-file_is_valid.patch @@ -0,0 +1,27 @@ +From 43a38da9e220286be9faedf44e3339d8d1422606 Mon Sep 17 00:00:00 2001 +From: Harald Judt +Date: Wed, 17 Feb 2016 17:47:38 +0100 +Subject: Check if a thunar file is still valid before reloading + +--- + thunar/thunar-file.c | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/thunar/thunar-file.c b/thunar/thunar-file.c +index 3262dfb..002c980 100644 +--- thunar/thunar-file.c ++++ thunar/thunar-file.c +@@ -3920,7 +3920,9 @@ thunar_file_unwatch (ThunarFile *file) + gboolean + thunar_file_reload (ThunarFile *file) + { +- _thunar_return_if_fail (THUNAR_IS_FILE (file)); ++ /* if the file has already been destroyed, break here */ ++ if (!THUNAR_IS_FILE (file)) ++ return FALSE; + + /* clear file pxmap cache */ + thunar_icon_factory_clear_pixmap_cache (file); +-- +2.7.1 + diff --git a/srcpkgs/Thunar/template b/srcpkgs/Thunar/template index 5c6bfccb11..338080ede8 100644 --- a/srcpkgs/Thunar/template +++ b/srcpkgs/Thunar/template @@ -1,7 +1,7 @@ # Template file for 'Thunar' pkgname=Thunar version=1.6.10 -revision=2 +revision=3 build_style=gnu-configure configure_args="--enable-gio-unix --enable-dbus --enable-gudev --enable-exif --enable-pcre --disable-static --enable-notifications"