From e77d4fcf31bfdad0b34e184e4743b4750848472c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 11 May 2012 01:29:18 +0000 Subject: Use more reasonable names for the world's interface and engine (if present). Don't require separate Configuration initialisation from World (simplify API). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4343 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/SubpatchModule.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/SubpatchModule.cpp') diff --git a/src/gui/SubpatchModule.cpp b/src/gui/SubpatchModule.cpp index 6c74ec69..dcc55e20 100644 --- a/src/gui/SubpatchModule.cpp +++ b/src/gui/SubpatchModule.cpp @@ -80,7 +80,7 @@ SubpatchModule::store_location(double ax, double ay) Resource::Property(x, Resource::EXTERNAL))); add.insert(make_pair(uris.ingen_canvasY, Resource::Property(y, Resource::EXTERNAL))); - app().engine()->delta(_node->path(), remove, add); + app().interface()->delta(_node->path(), remove, add); } } @@ -104,7 +104,7 @@ SubpatchModule::browse_to_patch() void SubpatchModule::menu_remove() { - app().engine()->del(_patch->path()); + app().interface()->del(_patch->path()); } } // namespace GUI -- cgit v1.2.1