From e1ea99192e10149e0cac7a93f98fbec20e7cedb2 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 3 Apr 2015 17:10:58 +0000 Subject: Use lv2:prototype and deprecate ingen:prototype. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5652 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/GraphCanvas.cpp | 4 ++-- src/gui/LoadPluginWindow.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui') diff --git a/src/gui/GraphCanvas.cpp b/src/gui/GraphCanvas.cpp index c3b8b937..f07f1d5b 100644 --- a/src/gui/GraphCanvas.cpp +++ b/src/gui/GraphCanvas.cpp @@ -683,7 +683,7 @@ GraphCanvas::paste() const Raul::URI& old_uri = Node::path_to_uri(old_path); const Raul::Path& new_path = avoider.map_path(parent.child(node->path())); - Node::Properties props{{uris.ingen_prototype, + Node::Properties props{{uris.lv2_prototype, _app.forge().alloc_uri(old_uri)}}; // Set the same types @@ -789,7 +789,7 @@ GraphCanvas::load_plugin(WPtr weak_plugin) Node::Properties props = get_initial_data(); props.insert(make_pair(uris.rdf_type, Resource::Property(uris.ingen_Block))); - props.insert(make_pair(uris.ingen_prototype, + props.insert(make_pair(uris.lv2_prototype, uris.forge.alloc_uri(plugin->uri()))); _app.interface()->put(Node::path_to_uri(path), props); } diff --git a/src/gui/LoadPluginWindow.cpp b/src/gui/LoadPluginWindow.cpp index fd8a8868..9d644641 100644 --- a/src/gui/LoadPluginWindow.cpp +++ b/src/gui/LoadPluginWindow.cpp @@ -400,7 +400,7 @@ LoadPluginWindow::load_plugin(const Gtk::TreeModel::iterator& iter) Resource::Properties props = _initial_data; props.insert(make_pair(uris.rdf_type, Resource::Property(uris.ingen_Block))); - props.insert(make_pair(uris.ingen_prototype, + props.insert(make_pair(uris.lv2_prototype, _app->forge().alloc_uri(plugin->uri()))); props.insert(make_pair(uris.ingen_polyphonic, _app->forge().make(polyphonic))); -- cgit v1.2.1