don't call gtk.gdk/threads_init() under windows. Fixes #5020
This commit is contained in:
parent
1290a751e1
commit
c15f487deb
|
@ -3529,7 +3529,10 @@ if __name__ == '__main__':
|
|||
Interface()
|
||||
|
||||
try:
|
||||
gtk.gdk.threads_init()
|
||||
if os.name != 'nt':
|
||||
# This makes Gajim unusable under windows, and threads are used only
|
||||
# for GPG, so not under windows
|
||||
gtk.gdk.threads_init()
|
||||
gtk.main()
|
||||
except KeyboardInterrupt:
|
||||
print >> sys.stderr, 'KeyboardInterrupt'
|
||||
|
|
Loading…
Reference in New Issue