[pyclutter/wip/introspection] Move 'clutter_version' to the top of the overrides file



commit c9afb6197b4a09474ba86dc5481c5b4575acce7a
Author: Bastian Winkler <buz netbuz org>
Date:   Tue Apr 17 13:09:06 2012 +0200

    Move 'clutter_version' to the top of the overrides file

 introspection/Clutter.py |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/introspection/Clutter.py b/introspection/Clutter.py
index 9578855..5d2e102 100644
--- a/introspection/Clutter.py
+++ b/introspection/Clutter.py
@@ -38,6 +38,11 @@ else:
     _callable = callable
 
 
+clutter_version = (Clutter.MAJOR_VERSION, Clutter.MINOR_VERSION,
+                   Clutter.MICRO_VERSION)
+__all__.append('clutter_version')
+
+
 def _gvalue_from_python(value_type, v):
     # XXX: A similar function is also in Gtk.py, but IMHO this should
     # live in a GObject.Value override. Either as a GValue classmethod
@@ -1096,11 +1101,6 @@ def main_quit(*args, **kwargs):
 __all__.append('main_quit')
 
 
-clutter_version = (Clutter.MAJOR_VERSION, Clutter.MINOR_VERSION,
-                   Clutter.MICRO_VERSION)
-__all__.append('clutter_version')
-
-
 # Initialize Clutter directly on import
 initialized, argv = Clutter.init(sys.argv)
 sys.argv = argv



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