don't call gtk.gdk/threads_init() under windows. Fixes #5020

This commit is contained in:
Yann Leboulanger 2009-05-10 20:02:46 +00:00
parent 1290a751e1
commit c15f487deb
1 changed files with 4 additions and 1 deletions

View File

@ -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: