]> err.no Git - libchamplain/commitdiff
Add gobject.threads_init() to launcher-gtk.py to fix crasher on some systems
authorMike Sheldon <mike@mikeasoft.com>
Sat, 28 Mar 2009 16:01:44 +0000 (16:01 +0000)
committerMike Sheldon <mike@mikeasoft.com>
Sat, 28 Mar 2009 16:01:44 +0000 (16:01 +0000)
bindings/python/demos/launcher-gtk.py

index d4ed85a82a3e3a88d8e3ac02f54e19717f152da7..2f24b93cc2ed767c316a8ae30b6370f63d87127c 100755 (executable)
@@ -2,6 +2,7 @@
 # -*- coding: utf-8 -*-
 import clutter
 import cluttergtk
+import gobject
 import gtk
 import champlain
 import champlaingtk
@@ -61,6 +62,7 @@ def create_marker_layer():
 
     return layer
 
+gobject.threads_init()
 clutter.init()
 
 window = gtk.Window()