MFH: r542357

Import patch merged upstream to fix sporadic crashes caused by an
incorrect assertion in the cose.

PR:		247961
Submitted by:	rozhuk.im@gmail.com

Approved by:	ports-secteam (joneum)
This commit is contained in:
Guido Falsi 2020-07-18 10:27:49 +00:00
parent dd66b10d57
commit 6ab7fd1b40
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2020Q3/; revision=542488
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)
{