]> err.no Git - pkg-config/commitdiff
* pkg.c (recursive_fill_list): Make sure to act recursively with
authorTollef Fog Heen <tfheen@err.no>
Mon, 18 Jun 2007 21:19:27 +0000 (23:19 +0200)
committerTollef Fog Heen <tfheen@err.no>
Mon, 18 Jun 2007 21:19:27 +0000 (23:19 +0200)
Requires.private, making them much more useful.  Special thanks to
Matthias Clasen for lots and lots of nagging.  Freedesktop #8788

ChangeLog
pkg.c

index 7da5f3487b32697a14c13d495d502212c1fb69ef..9b6ef4ffaf4bfcb713880d2293ae989e642e49ef 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2007-06-18  Tollef Fog Heen  <tfheen@err.no>
 
+       * pkg.c (recursive_fill_list): Make sure to act recursively with
+       Requires.private, making them much more useful.  Special thanks to
+       Matthias Clasen for lots and lots of nagging.  Freedesktop #8788
+
        * glib-patches/remove-strsignal-prototype.diff: define _GNU_SOURCE
        there to get strsignal prototype, addresses the rest of
        Freedesktop 10652.
diff --git a/pkg.c b/pkg.c
index 8592befe8865a6128ea34a9a3cf78a3712e6fda6..bb2133744b8d5a81f87b75132494b4d451bf4230 100644 (file)
--- a/pkg.c
+++ b/pkg.c
@@ -617,7 +617,7 @@ recursive_fill_list (Package *pkg, GetListFunc func, GSList **listp)
 
   fill_one_level (pkg, func, listp);
   
-  tmp = pkg->requires;
+  tmp = (*func) (pkg);
 
   while (tmp != NULL)
     {