From efe8e2311ee2fed881f95cc1e72825906d21c7c1 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 12 Aug 2012 23:42:17 +0000 Subject: Use ingen:root as the path for the root patch, opening up path space for engine/driver/etc. Strict conversion between Path and URI (Path no longer is-a URI). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4672 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/Port.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/Port.cpp') diff --git a/src/gui/Port.cpp b/src/gui/Port.cpp index f70e8576..5744a84d 100644 --- a/src/gui/Port.cpp +++ b/src/gui/Port.cpp @@ -151,7 +151,7 @@ Port::on_value_changed(GVariant* value) const Raul::Atom atom = _app.forge().make(float(g_variant_get_double(value))); if (atom != model()->value()) { Ingen::World* const world = _app.world(); - _app.interface()->set_property(model()->path(), + _app.interface()->set_property(model()->uri(), world->uris().ingen_value, atom); } @@ -175,7 +175,7 @@ Port::value_changed(const Atom& value) void Port::on_scale_point_activated(float f) { - _app.interface()->set_property(model()->path(), + _app.interface()->set_property(model()->uri(), _app.world()->uris().ingen_value, _app.world()->forge().make(f)); } -- cgit v1.2.1