diff options
author | David Robillard <d@drobilla.net> | 2015-04-03 17:10:58 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2015-04-03 17:10:58 +0000 |
commit | e1ea99192e10149e0cac7a93f98fbec20e7cedb2 (patch) | |
tree | 97d8d9e63b6d2085c2b49e71fc2183c8058b4533 /src/gui | |
parent | ac888fe3cb4a7bdf0f43e9474160e3b525edf774 (diff) | |
download | ingen-e1ea99192e10149e0cac7a93f98fbec20e7cedb2.tar.gz ingen-e1ea99192e10149e0cac7a93f98fbec20e7cedb2.tar.bz2 ingen-e1ea99192e10149e0cac7a93f98fbec20e7cedb2.zip |
Use lv2:prototype and deprecate ingen:prototype.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5652 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/GraphCanvas.cpp | 4 | ||||
-rw-r--r-- | src/gui/LoadPluginWindow.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
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<PluginModel> 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))); |