summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-06-27 00:09:50 -0400
committerDavid Robillard <d@drobilla.net>2023-06-27 00:09:50 -0400
commitf28f14dc2b4cb459e9a8246faeff736d5569620a (patch)
tree212c5fd97abddb6b03bd373454da5f3a19703213
parentbc72655bb2148d4d8e8be815e87a7cbd59fb08a0 (diff)
downloadlilv-f28f14dc2b4cb459e9a8246faeff736d5569620a.tar.gz
lilv-f28f14dc2b4cb459e9a8246faeff736d5569620a.tar.bz2
lilv-f28f14dc2b4cb459e9a8246faeff736d5569620a.zip
Order plugin classes by URI
-rw-r--r--NEWS3
-rw-r--r--src/pluginclass.c2
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 <d@drobilla.net> Mon, 15 May 2023 00:02:51 +0000
+ -- David Robillard <d@drobilla.net> 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);