[gtk-doc] gtkdoc-mkdb: sort entries in the glossary
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gtk-doc] gtkdoc-mkdb: sort entries in the glossary
- Date: Wed, 30 Oct 2013 00:23:53 +0000 (UTC)
commit bd2b3769684a7f7ebdee1d32c0fe280ef0e75e86
Author: Zbigniew Jędrzejewski-Szmek <zbyszek in waw pl>
Date:   Mon Oct 21 15:52:08 2013 -0400
    gtkdoc-mkdb: sort entries in the glossary
    
    The entries in the glossary were in pseudo-random order, varying
    even between gtk-doc runs.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=711111
    
    https://bugzilla.gnome.org/show_bug.cgi?id=711112
 gtkdoc-mkdb.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtkdoc-mkdb.in b/gtkdoc-mkdb.in
index e448ed7..faffaf4 100755
--- a/gtkdoc-mkdb.in
+++ b/gtkdoc-mkdb.in
@@ -1119,7 +1119,7 @@ $header
   <title>Annotation Glossary</title>
 EOF
 
-    foreach my $annotation (keys(%AnnotationsUsed)) {
+    foreach my $annotation (sort(keys(%AnnotationsUsed))) {
         if(defined($AnnotationDefinition{$annotation})) {
             my $def = $AnnotationDefinition{$annotation};
             my $curletter = uc(substr($annotation,0,1));
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]