diff options
author | David Robillard <d@drobilla.net> | 2011-04-29 02:09:01 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-04-29 02:09:01 +0000 |
commit | 8a73d68a8857588396dfe201dcf76c4dfb84722e (patch) | |
tree | ac3931da68bf9508c5a12fb549439c844e054561 /src/gui | |
parent | 8bc9aca63644d63de3ccccbb4752e79d3d3c7854 (diff) | |
download | ingen-8a73d68a8857588396dfe201dcf76c4dfb84722e.tar.gz ingen-8a73d68a8857588396dfe201dcf76c4dfb84722e.tar.bz2 ingen-8a73d68a8857588396dfe201dcf76c4dfb84722e.zip |
Terser names for value constructors.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3223 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/NodeMenu.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/NodeMenu.cpp b/src/gui/NodeMenu.cpp index 871ccaf9..5876037a 100644 --- a/src/gui/NodeMenu.cpp +++ b/src/gui/NodeMenu.cpp @@ -86,10 +86,10 @@ NodeMenu::init(SharedPtr<NodeModel> node) #ifdef HAVE_LILV if (plugin && plugin->type() == PluginModel::LV2) { - LilvValue* preset_pred = lilv_value_new_uri( + LilvValue* preset_pred = lilv_new_uri( plugin->lilv_world(), "http://lv2plug.in/ns/dev/presets#hasPreset"); - LilvValue* title_pred = lilv_value_new_uri( + LilvValue* title_pred = lilv_new_uri( plugin->lilv_world(), "http://dublincore.org/documents/dcmi-namespace/title"); LilvValues* presets = lilv_plugin_get_value( @@ -182,16 +182,16 @@ NodeMenu::on_preset_activated(const std::string& uri) const NodeModel* const node = (NodeModel*)_object.get(); const PluginModel* const plugin = dynamic_cast<const PluginModel*>(node->plugin()); - LilvValue* port_pred = lilv_value_new_uri( + LilvValue* port_pred = lilv_new_uri( plugin->lilv_world(), "http://lv2plug.in/ns/lv2core#port"); - LilvValue* symbol_pred = lilv_value_new_uri( + LilvValue* symbol_pred = lilv_new_uri( plugin->lilv_world(), "http://lv2plug.in/ns/lv2core#symbol"); - LilvValue* value_pred = lilv_value_new_uri( + LilvValue* value_pred = lilv_new_uri( plugin->lilv_world(), "http://lv2plug.in/ns/ext/presets#value"); - LilvValue* subject = lilv_value_new_uri(plugin->lilv_world(), uri.c_str()); + LilvValue* subject = lilv_new_uri(plugin->lilv_world(), uri.c_str()); LilvValues* ports = lilv_plugin_get_value_for_subject( plugin->lilv_plugin(), subject, |