don't call gtk.gdk/threads_init() under windows. Fixes #5020
This commit is contained in:
parent
1290a751e1
commit
c15f487deb
|
@ -3529,6 +3529,9 @@ if __name__ == '__main__':
|
|||
Interface()
|
||||
|
||||
try:
|
||||
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:
|
||||
|
|
Loading…
Reference in New Issue