summaryrefslogtreecommitdiffstats
path: root/src/progs
diff options
context:
space:
mode:
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) {