From ee9d6d0b007accb56201011997a26b563ad3fb29 Mon Sep 17 00:00:00 2001 From: Alexander Schwinn Date: Sun, 19 May 2019 21:44:47 +0200 Subject: [PATCH] Crash on mount/unmount on FreeBSD 11.2, 12.0, starting from 1.6.16 (Bug #15184) --- thunar/thunar-window.c | 1 + 1 file changed, 1 insertion(+) diff --git a/thunar/thunar-window.c b/thunar/thunar-window.c index ccb398ff..1d0be972 100644 --- a/thunar/thunar-window.c +++ b/thunar/thunar-window.c @@ -3284,6 +3284,7 @@ thunar_window_current_directory_changed (ThunarFile *current_directory, _thunar_return_if_fail (THUNAR_IS_WINDOW (window)); _thunar_return_if_fail (THUNAR_IS_FILE (current_directory)); _thunar_return_if_fail (window->current_directory == current_directory); + _thunar_return_if_fail (THUNAR_IS_PREFERENCES (window->preferences)); /* update the "Empty Trash" action */ action = gtk_action_group_get_action (window->action_group, "empty-trash"); -- 2.11.0