summaryrefslogtreecommitdiffstats
path: root/src/gui/ingen_gui_lv2.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-05-25 09:12:44 +0000
committerDavid Robillard <d@drobilla.net>2015-05-25 09:12:44 +0000
commitccb7d738d37fb21245a563cd41727f2609f0bc07 (patch)
treef13f750311b3b768b87b6dd64b47cd82584a6262 /src/gui/ingen_gui_lv2.cpp
parent4f00b8a2ae7148b3a13fd6af0e79eb9b6abf5634 (diff)
downloadingen-ccb7d738d37fb21245a563cd41727f2609f0bc07.tar.gz
ingen-ccb7d738d37fb21245a563cd41727f2609f0bc07.tar.bz2
ingen-ccb7d738d37fb21245a563cd41727f2609f0bc07.zip
Use ingen:/ as base URI on the wire.
This allows referring to non-graph items, which are converted to bundle-relative URIs on save, resolving issue #1049. Change root graph URI to ingen:/graph. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5687 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/ingen_gui_lv2.cpp')
-rw-r--r--src/gui/ingen_gui_lv2.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/ingen_gui_lv2.cpp b/src/gui/ingen_gui_lv2.cpp
index 386f30c0..c81d48a0 100644
--- a/src/gui/ingen_gui_lv2.cpp
+++ b/src/gui/ingen_gui_lv2.cpp
@@ -148,7 +148,7 @@ instantiate(const LV2UI_Descriptor* descriptor,
props.insert(std::make_pair(ui->app->uris().rdf_type,
Ingen::Resource::Property(
ui->app->uris().ingen_Graph)));
- ui->app->store()->put(Ingen::Node::root_uri(), props);
+ ui->app->store()->put(Ingen::Node::root_graph_uri(), props);
// Create a GraphBox for the root and set as the UI widget
SPtr<const Ingen::Client::GraphModel> root =
@@ -159,7 +159,7 @@ instantiate(const LV2UI_Descriptor* descriptor,
*widget = ui->view->gobj();
// Request the actual root graph
- ui->world->interface()->get(Ingen::Node::root_uri());
+ ui->world->interface()->get(Ingen::Node::root_graph_uri());
return ui;
}