threads_init only if py24+
This commit is contained in:
parent
9986a3cb62
commit
ef21462543
1 changed files with 2 additions and 1 deletions
|
@ -42,7 +42,8 @@ elif gtk.gtk_version < (2, 6, 0):
|
||||||
|
|
||||||
import gtkexcepthook
|
import gtkexcepthook
|
||||||
import gobject
|
import gobject
|
||||||
gobject.threads_init()
|
if sys.version[:4] >= '2.4':
|
||||||
|
gobject.threads_init()
|
||||||
import pango
|
import pango
|
||||||
import sre
|
import sre
|
||||||
import signal
|
import signal
|
||||||
|
|
Loading…
Add table
Reference in a new issue