From f904cf4cdcdf3cd4756d6d535133d6c0a3bd2f8f Mon Sep 17 00:00:00 2001
From: Alexander Schwinn <acs82@gmx.de>
Date: Wed, 15 Nov 2017 21:18:18 +0100
Subject: [PATCH] removed deprecations - no need to have critical section here,
 method pointers passed to "g_timeout_add" are executed by the gtk main thread

---
 thunar/thunar-history-action.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/thunar/thunar-history-action.c b/thunar/thunar-history-action.c
index 18c3a57b6..b0cfc92a9 100644
--- a/thunar/thunar-history-action.c
+++ b/thunar/thunar-history-action.c
@@ -90,11 +90,7 @@ thunar_history_action_popup_delayed (gpointer data)
   ThunarHistoryAction *history_action;
 
   history_action = g_object_get_data (G_OBJECT (button), I_("thunar-history-action"));
-
-  GDK_THREADS_ENTER ();
   thunar_history_action_show_menu (button, history_action, 3, 0);
-  GDK_THREADS_LEAVE ();
-
   history_action->popup_delay = 0;
 
   return FALSE;
-- 
GitLab