From bfe73e262cec52e835c81b40cee394c4fe27f5c0 Mon Sep 17 00:00:00 2001 From: Mike Sheldon Date: Sat, 28 Mar 2009 16:01:44 +0000 Subject: [PATCH] Add gobject.threads_init() to launcher-gtk.py to fix crasher on some systems --- bindings/python/demos/launcher-gtk.py | 2 ++ 1 file changed, 2 insertions(+) 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() -- 2.39.5