Activate gtk.gdk.threads_init() for every arch

This commit is contained in:
Cédric Krier committed 2011-02-11 15:02:18 +01:00
1 parent bc86b8d681
commit 44a33c3490
1 file changed
+1 -3
+1 -3
View File
@@ -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