Import patch merged upstream to fix sporadic crashes caused by an

incorrect assertion in the cose.

PR:		247961
Submitted by:	rozhuk.im@gmail.com
MFH:		2020Q3
This commit is contained in:
Guido Falsi 2020-07-16 13:25:15 +00:00
parent 446bef763b
commit 50d4195941
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=542357
2 changed files with 12 additions and 0 deletions

View file

@ -3,6 +3,7 @@
PORTNAME= thunar
DISTVERSION= 1.8.15
PORTREVISION= 1
CATEGORIES= x11-fm xfce
MASTER_SITES= XFCE
DIST_SUBDIR= xfce4

View file

@ -0,0 +1,11 @@
--- thunar/thunar-list-model.c.orig 2020-05-24 12:27:08 UTC
+++ thunar/thunar-list-model.c
@@ -705,7 +705,7 @@ thunar_list_model_get_value (GtkTreeModel *model,
_thunar_return_if_fail (iter->stamp == (THUNAR_LIST_MODEL (model))->stamp);
file = g_sequence_get (iter->user_data);
- _thunar_assert (THUNAR_IS_FILE (file));
+ _thunar_return_if_fail (THUNAR_IS_FILE (file));
switch (column)
{