summaryrefslogtreecommitdiffstats
path: root/src/progs
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-07-03 22:13:38 +0000
committerDavid Robillard <d@drobilla.net>2006-07-03 22:13:38 +0000
commit62d76290ae0eb783db0e24338c17adb08d845a73 (patch)
treef3be39dadd5563ebf5a03ef9bb81bc4b6665fa1c /src/progs
parent2df7c1a1e805bea3d439d345d37469a8d202a656 (diff)
downloadingen-62d76290ae0eb783db0e24338c17adb08d845a73.tar.gz
ingen-62d76290ae0eb783db0e24338c17adb08d845a73.tar.bz2
ingen-62d76290ae0eb783db0e24338c17adb08d845a73.zip
Fixes for connecting directly from a patch input to a patch output
git-svn-id: http://svn.drobilla.net/lad/ingen@81 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/progs')
-rw-r--r--src/progs/ingenuity/ConnectWindow.cpp2
-rw-r--r--src/progs/ingenuity/PatchWindow.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/progs/ingenuity/ConnectWindow.cpp b/src/progs/ingenuity/ConnectWindow.cpp
index a064c0bd..46b4b937 100644
--- a/src/progs/ingenuity/ConnectWindow.cpp
+++ b/src/progs/ingenuity/ConnectWindow.cpp
@@ -224,7 +224,7 @@ ConnectWindow::gtk_callback()
++stage;
} else if (stage == 7) {
if (Store::instance().num_objects() > 0) {
- CountedPtr<PatchModel> root = Store::instance().patch("/");
+ CountedPtr<PatchModel> root = Store::instance().object("/");
assert(root);
PatchController* root_controller = new PatchController(root);
root_controller->show_patch_window();
diff --git a/src/progs/ingenuity/PatchWindow.cpp b/src/progs/ingenuity/PatchWindow.cpp
index 25fe156b..98107946 100644
--- a/src/progs/ingenuity/PatchWindow.cpp
+++ b/src/progs/ingenuity/PatchWindow.cpp
@@ -287,7 +287,7 @@ PatchWindow::breadcrumb_clicked(BreadCrumb* crumb)
// FIXME: check to be sure PatchModel exists, then controller - maybe
// even make a controller if there isn't one?
PatchController* const pc = dynamic_cast<PatchController*>(
- Store::instance().patch(crumb->path())->controller());
+ Store::instance().object(crumb->path())->controller());
assert(pc != NULL);
if (pc == m_patch) {