Thunar: update to 1.6.11

This commit is contained in:
Alessio Sergi 2017-02-15 09:55:15 +01:00
parent 2485ddac02
commit a09aeb3505
2 changed files with 3 additions and 30 deletions

View file

@ -1,27 +0,0 @@
From 43a38da9e220286be9faedf44e3339d8d1422606 Mon Sep 17 00:00:00 2001
From: Harald Judt <h.judt@gmx.at>
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

View file

@ -1,7 +1,7 @@
# Template file for 'Thunar'
pkgname=Thunar
version=1.6.10
revision=3
version=1.6.11
revision=1
build_style=gnu-configure
configure_args="--enable-gio-unix --enable-dbus --enable-gudev
--enable-exif --enable-pcre --disable-static --enable-notifications"
@ -10,7 +10,7 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://thunar.xfce.org"
license="GPL-2, LGPL-2.1"
distfiles="http://archive.xfce.org/src/xfce/thunar/${version%.*}/${pkgname}-${version}.tar.bz2"
checksum=7e9d24067268900e5e44d3325e60a1a2b2f8f556ec238ec12574fbea15fdee8a
checksum=b1c7c3121827f59610900ef1cc19aa10a50ab2cc3ae38eee15181b64256e8b42
hostmakedepends="xfce4-dev-tools gettext-devel glib-devel"
makedepends="pcre-devel libglib-devel gvfs-devel