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()
|
Interface()
|
||||||
|
|
||||||
try:
|
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.gdk.threads_init()
|
||||||
gtk.main()
|
gtk.main()
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
|
|
Loading…
Reference in New Issue