From 640a3035617e40bf48ff31c08f6b4d03712b30cf Mon Sep 17 00:00:00 2001 From: Joseph Coffland Date: Fri, 4 Mar 2016 01:00:59 -0800 Subject: [PATCH] Removed gtk thread locks --- fah/FAHControl.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/fah/FAHControl.py b/fah/FAHControl.py index 48d7b56..5c40bdb 100644 --- a/fah/FAHControl.py +++ b/fah/FAHControl.py @@ -151,9 +151,6 @@ class FAHControl(SingleAppServer): self.__class__.instance = self - # Windows needs this but OSX accelerators crash with this - if sys.platform != 'darwin': gtk.gdk.threads_init() - # Vars self.clients = {} self.clientsByAddress = {} @@ -544,10 +541,7 @@ class FAHControl(SingleAppServer): self.window.add_accel_group(ag) except Exception, e: print e - # Windows needs this but OSX accelerators crash with this - if sys.platform != 'darwin': gtk.gdk.threads_enter() gtk.main() - if sys.platform != 'darwin': gtk.gdk.threads_leave() # Util