summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--src/ui.c9
-rw-r--r--wscript2
3 files changed, 11 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 3849e0e..1770237 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+lilv (UNRELEASED) unstable; urgency=low
+
+ * Fix lilv_ui_is_supported when Lilv is built independently
+
+ -- David Robillard <d@drobilla.net> UNRELEASED
+
lilv (0.4.2) unstable; urgency=low
* Fix compilation issues on some systems
diff --git a/src/ui.c b/src/ui.c
index 36287e1..065a37d 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -80,14 +80,13 @@ LILV_API
unsigned
lilv_ui_is_supported(const LilvUI* ui,
LilvUISupportedFunc supported_func,
- const LilvNode* container_type,
- const LilvNode** ui_type)
+ const LilvNode* container_type,
+ const LilvNode** ui_type)
{
-#ifdef HAVE_SUIL
const LilvNodes* classes = lilv_ui_get_classes(ui);
LILV_FOREACH(nodes, c, classes) {
const LilvNode* type = lilv_nodes_get(classes, c);
- const unsigned q = supported_func(lilv_node_as_uri(container_type),
+ const unsigned q = supported_func(lilv_node_as_uri(container_type),
lilv_node_as_uri(type));
if (q) {
if (ui_type) {
@@ -96,7 +95,7 @@ lilv_ui_is_supported(const LilvUI* ui,
return q;
}
}
-#endif
+
return 0;
}
diff --git a/wscript b/wscript
index 11d4240..584cde7 100644
--- a/wscript
+++ b/wscript
@@ -8,7 +8,7 @@ import waflib.Options as Options
import waflib.Logs as Logs
# Version of this package (even if built as a child)
-LILV_VERSION = '0.4.2'
+LILV_VERSION = '0.4.3'
LILV_MAJOR_VERSION = '0'
# Library version (UNIX style major, minor, micro)