Activate gtk.gdk.threads_init() for every arch
This commit is contained in:
1 parent
bc86b8d681
commit
44a33c3490
1 file changed
+1
-3
+1
-3
@@ -8,9 +8,7 @@ import sys
|
||||
import pygtk
|
||||
pygtk.require('2.0')
|
||||
import gtk
|
||||
if not (os.name in ('nt', 'mac') or \
|
||||
(hasattr(os, 'uname') and os.uname()[0] == 'Darwin')):
|
||||
gtk.gdk.threads_init()
|
||||
gtk.gdk.threads_init()
|
||||
import logging
|
||||
|
||||
from tryton import version
|
||||
|
||||
Reference in new issue
Block a user