From 5df29e8cc91115098dcb09978722c76b71689fa3 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 26 Mar 2017 20:04:59 +0200 Subject: Remove Node::path() and Node::symbol() --- src/server/events/DisconnectAll.cpp | 2 +- src/server/ingen_lv2.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'src/server') diff --git a/src/server/events/DisconnectAll.cpp b/src/server/events/DisconnectAll.cpp index 4d5a0958..a9ab7521 100644 --- a/src/server/events/DisconnectAll.cpp +++ b/src/server/events/DisconnectAll.cpp @@ -60,7 +60,7 @@ DisconnectAll::DisconnectAll(Engine& engine, Node* object) : Event(engine) , _parent_path(parent->path()) - , _path(object->path()) + , _path(uri_to_path(object->uri())) , _parent(parent) , _block(dynamic_cast(object)) , _port(dynamic_cast(object)) diff --git a/src/server/ingen_lv2.cpp b/src/server/ingen_lv2.cpp index b3489d6d..6d3b62c1 100644 --- a/src/server/ingen_lv2.cpp +++ b/src/server/ingen_lv2.cpp @@ -705,7 +705,8 @@ ingen_save(LV2_Handle instance, { std::lock_guard lock(plugin->world->rdf_mutex()); - plugin->world->serialiser()->start_to_file(root->second->path(), real_path); + plugin->world->serialiser()->start_to_file( + uri_to_path(root->second->uri()), real_path); plugin->world->serialiser()->serialise(root->second); plugin->world->serialiser()->finish(); } -- cgit v1.2.1