From eb273d02f031273e4a50ea212f942e1892ec7552 Mon Sep 17 00:00:00 2001
From: Alexander Schwinn <alexxcons@xfce.org>
Date: Fri, 2 Oct 2020 20:19:28 +0200
Subject: [PATCH] Revert "Prevent crash when thumbnailer is not defined (#385)"

This reverts commit 34d802de778bcf2a8cdfda190c7d3823c59a25fd.
---
 thunar/thunar-thumbnailer.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/thunar/thunar-thumbnailer.c b/thunar/thunar-thumbnailer.c
index 14c8f02c8..5a10bf07a 100644
--- a/thunar/thunar-thumbnailer.c
+++ b/thunar/thunar-thumbnailer.c
@@ -329,8 +329,7 @@ thunar_thumbnailer_queue_async_reply (GObject      *proxy,
 
   thumbnailer = THUNAR_THUMBNAILER (job->thumbnailer);
 
-  if (THUNAR_IS_THUMBNAILER (thumbnailer) == FALSE)
-    return;
+  _thunar_return_if_fail (THUNAR_IS_THUMBNAILER (thumbnailer));
 
   _thumbnailer_lock (thumbnailer);
 
-- 
GitLab