[libchamplain] Like pyclutter-gtk the champlain-gtk in launcher-gtk.py demo must be the first to be imported



commit e303fa3eb0a47da3a4062b29e373fdc11edd7c81
Author: Victor Godoy Poluceno <victorpoluceno gmail com>
Date:   Tue May 11 16:09:15 2010 -0300

    Like pyclutter-gtk the champlain-gtk in launcher-gtk.py demo must
    be the first to be imported

 .../python/champlain-gtk/pychamplaingtk.override   |    1 +
 bindings/python/demos/launcher-gtk.py              |    5 +++--
 2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/bindings/python/champlain-gtk/pychamplaingtk.override b/bindings/python/champlain-gtk/pychamplaingtk.override
index 75997be..671a13c 100644
--- a/bindings/python/champlain-gtk/pychamplaingtk.override
+++ b/bindings/python/champlain-gtk/pychamplaingtk.override
@@ -9,6 +9,7 @@ headers
 %%
 modulename champlain
 %%
+import cluttergtk.Embed as PyClutterGtkEmbed_Type
 import gtk.Alignment as PyGtkAlignment_Type
 import clutter.Actor as PyClutterActor_Type
 import clutter.Group as PyClutterGroup_Type
diff --git a/bindings/python/demos/launcher-gtk.py b/bindings/python/demos/launcher-gtk.py
index 98c3789..c06d67c 100755
--- a/bindings/python/demos/launcher-gtk.py
+++ b/bindings/python/demos/launcher-gtk.py
@@ -1,9 +1,10 @@
 #!/usr/bin/env python
 # -*- coding: utf-8 -*-
 import gobject
-import gtk
+
+import champlaingtk # must be the first to be imported
 import champlain
-import champlaingtk
+import gtk
 
 from markers import create_marker_layer
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]