[gtk-doc] mkdb: sort interface implementers and prerequisites alphabeticaly. Fixes 609194



commit c3c4b39319c0b2d33fd4140d9ee9fa0163617457
Author: Stefan Kost <ensonic users sf net>
Date:   Mon Feb 8 11:39:34 2010 +0200

    mkdb: sort interface implementers and prerequisites alphabeticaly. Fixes 609194
    
    Before the lists where ordered based on a perl hash key which is quite useless.
    Fix is based on patch by David NeÄ?as.

 gtkdoc-mkdb.in |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtkdoc-mkdb.in b/gtkdoc-mkdb.in
index 0f04eb5..fdc5e65 100755
--- a/gtkdoc-mkdb.in
+++ b/gtkdoc-mkdb.in
@@ -3125,6 +3125,7 @@ sub GetImplementations {
 	}
     }
     if ($#impls >= 0) {
+	@impls = sort @impls;
 	$text = <<EOF;
 <para>
 $object is implemented by
@@ -3207,6 +3208,7 @@ sub GetDerived {
 	}
     }
     if ($#derived >= 0) {
+	@derived = sort @derived;
 	$text = <<EOF;
 <para>
 $iface is required by



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