[gobject-introspection] Sort output



commit b3224b318300269cd78cabac13857bc64696f49e
Author: Johan Dahlin <johan gnome org>
Date:   Tue Feb 1 16:13:08 2011 -0200

    Sort output

 giscanner/annotationmain.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/giscanner/annotationmain.py b/giscanner/annotationmain.py
index 2b45c14..97897e7 100644
--- a/giscanner/annotationmain.py
+++ b/giscanner/annotationmain.py
@@ -63,7 +63,7 @@ def annotation_main(args):
         print '/* THIS FILE IS GENERATED DO NOT EDIT */'
         print '/' + ('*' * 60) + '/'
         print
-        for block in blocks.values():
+        for block in sorted(blocks.values()):
             print block.to_gtk_doc()
             print
         print



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