From f28f14dc2b4cb459e9a8246faeff736d5569620a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 27 Jun 2023 00:09:50 -0400 Subject: Order plugin classes by URI --- NEWS | 3 ++- src/pluginclass.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index 2c6e68f..c3a294d 100644 --- a/NEWS +++ b/NEWS @@ -6,12 +6,13 @@ lilv (0.24.21) unstable; urgency=medium * Convert man pages to mdoc * Fix dependencies in pkg-config file * Fix potential crash when writing state files fails + * Order plugin classes by URI * Override pkg-config dependency within meson * Remove junk files from documentation install * Replace duplicated dox_to_sphinx script with sphinxygen dependency * Switch to external zix dependency - -- David Robillard Mon, 15 May 2023 00:02:51 +0000 + -- David Robillard Tue, 27 Jun 2023 04:08:59 +0000 lilv (0.24.20) stable; urgency=medium diff --git a/src/pluginclass.c b/src/pluginclass.c index f3da602..18109f3 100644 --- a/src/pluginclass.c +++ b/src/pluginclass.c @@ -62,7 +62,7 @@ lilv_plugin_class_get_children(const LilvPluginClass* plugin_class) // Returned list doesn't own categories LilvPluginClasses* all = plugin_class->world->plugin_classes; LilvPluginClasses* result = - zix_tree_new(NULL, false, lilv_ptr_cmp, NULL, NULL, NULL); + zix_tree_new(NULL, false, lilv_header_compare_by_uri, NULL, NULL, NULL); for (ZixTreeIter* i = zix_tree_begin((ZixTree*)all); i != zix_tree_end((ZixTree*)all); -- cgit v1.2.1