From: Mike Sheldon Date: Sat, 28 Mar 2009 16:01:44 +0000 (+0000) Subject: Add gobject.threads_init() to launcher-gtk.py to fix crasher on some systems X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bfe73e262cec52e835c81b40cee394c4fe27f5c0;p=libchamplain Add gobject.threads_init() to launcher-gtk.py to fix crasher on some systems --- diff --git a/bindings/python/demos/launcher-gtk.py b/bindings/python/demos/launcher-gtk.py index d4ed85a..2f24b93 100755 --- a/bindings/python/demos/launcher-gtk.py +++ b/bindings/python/demos/launcher-gtk.py @@ -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()