summaryrefslogtreecommitdiffstats
path: root/utils/lv2_inspect.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-02-24 01:31:49 +0000
committerDavid Robillard <d@drobilla.net>2011-02-24 01:31:49 +0000
commit5a7ed3f46fa2e0151a0f403824ae3a7df10a6c34 (patch)
treee3784b267aabde08776650a50691a43f6290a9c9 /utils/lv2_inspect.c
parent468edb7f7be73505a4a73590443e3c8655ce1b82 (diff)
downloadlilv-5a7ed3f46fa2e0151a0f403824ae3a7df10a6c34.tar.gz
lilv-5a7ed3f46fa2e0151a0f403824ae3a7df10a6c34.tar.bz2
lilv-5a7ed3f46fa2e0151a0f403824ae3a7df10a6c34.zip
Move UI stuff back into slv2.h (avoid breakage).
Deprecate slv2_ui_instance_get_descriptor and slv2_ui_instance_get_handle. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3020 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'utils/lv2_inspect.c')
-rw-r--r--utils/lv2_inspect.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/utils/lv2_inspect.c b/utils/lv2_inspect.c
index 7484d96..5a405ce 100644
--- a/utils/lv2_inspect.c
+++ b/utils/lv2_inspect.c
@@ -23,9 +23,6 @@
#include <string.h>
#include "slv2/slv2.h"
-#ifdef SLV2_WITH_UI
-#include "slv2/ui.h"
-#endif
#include "slv2-config.h"
@@ -174,10 +171,9 @@ print_plugin(SLV2Plugin p)
printf("\tBundle: %s\n", slv2_value_as_uri(slv2_plugin_get_bundle_uri(p)));
printf("\tBinary: %s\n", slv2_value_as_uri(slv2_plugin_get_library_uri(p)));
-#ifdef SLV2_WITH_UI
SLV2UIs uis = slv2_plugin_get_uis(p);
if (slv2_values_size(uis) > 0) {
- printf("\tGUI: ");
+ printf("\tUI: ");
for (unsigned i = 0; i < slv2_uis_size(uis); ++i) {
SLV2UI ui = slv2_uis_get_at(uis, i);
printf("%s\n", slv2_value_as_uri(slv2_ui_get_uri(ui)));
@@ -198,7 +194,6 @@ print_plugin(SLV2Plugin p)
}
}
slv2_uis_free(uis);
-#endif
printf("\tData URIs: ");
SLV2Values data_uris = slv2_plugin_get_data_uris(p);