diff options
author | David Robillard <d@drobilla.net> | 2011-06-01 21:35:22 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-06-01 21:35:22 +0000 |
commit | 2af0d830244b5b504b1bd28c3660e9f441520856 (patch) | |
tree | 7f5d07b50dba7e3da2b35141fc27d4ef01880b8f | |
parent | 38c355b8b46d2f10c931697aca3bfc19e52e3727 (diff) | |
download | lilv-2af0d830244b5b504b1bd28c3660e9f441520856.tar.gz lilv-2af0d830244b5b504b1bd28c3660e9f441520856.tar.bz2 lilv-2af0d830244b5b504b1bd28c3660e9f441520856.zip |
Fix lilv_ui_is_supported when Lilv is built independently.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3346 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/ui.c | 9 | ||||
-rw-r--r-- | wscript | 2 |
3 files changed, 11 insertions, 6 deletions
@@ -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 @@ -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; } @@ -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) |