summaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-08-28 03:07:12 +0000
committerDavid Robillard <d@drobilla.net>2015-08-28 03:07:12 +0000
commit3b22d3c8c57867cad7304dac1e9be5ee36ae9715 (patch)
tree3de4bd2f383346164ecbee3a55d17a28d32623df /src/client
parente6f29e606ba73af640469e3ee1e2198893ce3e5c (diff)
downloadingen-3b22d3c8c57867cad7304dac1e9be5ee36ae9715.tar.gz
ingen-3b22d3c8c57867cad7304dac1e9be5ee36ae9715.tar.bz2
ingen-3b22d3c8c57867cad7304dac1e9be5ee36ae9715.zip
Get rid of LV2Info class.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5708 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/client')
-rw-r--r--src/client/PluginUI.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/PluginUI.cpp b/src/client/PluginUI.cpp
index 4b87957c..a16dcb2c 100644
--- a/src/client/PluginUI.cpp
+++ b/src/client/PluginUI.cpp
@@ -168,6 +168,8 @@ PluginUI::create(Ingen::World* world,
SPtr<const BlockModel> block,
const LilvPlugin* plugin)
{
+ const URIs& uris = world->uris();
+
if (!PluginUI::ui_host) {
PluginUI::ui_host = suil_host_new(lv2_ui_write,
lv2_ui_port_index,
@@ -210,12 +212,11 @@ PluginUI::create(Ingen::World* world,
LilvWorld* lworld = world->lilv_world();
LilvNode* ui_portNotification = lilv_new_uri(lworld, LV2_UI__portNotification);
LilvNode* ui_plugin = lilv_new_uri(lworld, LV2_UI__plugin);
- LilvNode* lv2_symbol = lilv_new_uri(lworld, LV2_CORE__symbol);
LilvNodes* notes = lilv_world_find_nodes(
lworld, lilv_ui_get_uri(ui), ui_portNotification, NULL);
LILV_FOREACH(nodes, n, notes) {
const LilvNode* note = lilv_nodes_get(notes, n);
- const LilvNode* sym = lilv_world_get(lworld, note, lv2_symbol, NULL);
+ const LilvNode* sym = lilv_world_get(lworld, note, uris.lv2_symbol, NULL);
const LilvNode* plug = lilv_world_get(lworld, note, ui_plugin, NULL);
if (plug && !lilv_node_is_uri(plug)) {
world->log().error(fmt("%1% UI has non-URI ui:plugin\n")
@@ -234,7 +235,6 @@ PluginUI::create(Ingen::World* world,
}
}
lilv_nodes_free(notes);
- lilv_node_free(lv2_symbol);
lilv_node_free(ui_plugin);
lilv_node_free(ui_portNotification);