Removed gtk thread locks

This commit is contained in:
Joseph Coffland 2016-03-04 01:00:59 -08:00
parent b7053f2110
commit 640a303561
1 changed files with 0 additions and 6 deletions

View File

@ -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