From 14588f5e0f88ee4dc9bc66c961e8cc5118d5700e Mon Sep 17 00:00:00 2001 From: Dimitur Kirov Date: Fri, 14 Apr 2006 11:16:00 +0000 Subject: [PATCH] win32: check against 2,8 for gtk too --- src/gajim.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gajim.py b/src/gajim.py index 3b83a15c6..8f25bff34 100755 --- a/src/gajim.py +++ b/src/gajim.py @@ -1749,7 +1749,8 @@ class Interface: gajim.log.setLevel(None) # pygtk2.8 on win, breaks io_add_watch. We use good old select.select() - if os.name == 'nt' and gtk.pygtk_version > (2, 8, 0): + if os.name == 'nt' and (gtk.pygtk_version > (2, 8, 0) or + gtk.gtk_version > (2, 8, 0)): gajim.idlequeue = idlequeue.SelectIdleQueue() else: # in a nongui implementation, just call: