summaryrefslogtreecommitdiffstats
path: root/src/progs/ingenuity/LoadPatchWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/progs/ingenuity/LoadPatchWindow.cpp')
-rw-r--r--src/progs/ingenuity/LoadPatchWindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/progs/ingenuity/LoadPatchWindow.cpp b/src/progs/ingenuity/LoadPatchWindow.cpp
index 1fa5c2ba..7605f0f0 100644
--- a/src/progs/ingenuity/LoadPatchWindow.cpp
+++ b/src/progs/ingenuity/LoadPatchWindow.cpp
@@ -60,7 +60,7 @@ LoadPatchWindow::LoadPatchWindow(BaseObjectType* cobject, const Glib::RefPtr<Gno
void
-LoadPatchWindow::present(CountedPtr<PatchModel> patch, MetadataMap data)
+LoadPatchWindow::present(SharedPtr<PatchModel> patch, MetadataMap data)
{
set_patch(patch);
m_initial_data = data;
@@ -73,7 +73,7 @@ LoadPatchWindow::present(CountedPtr<PatchModel> patch, MetadataMap data)
* This function MUST be called before using the window in any way!
*/
void
-LoadPatchWindow::set_patch(CountedPtr<PatchModel> patch)
+LoadPatchWindow::set_patch(SharedPtr<PatchModel> patch)
{
m_patch = patch;
}
@@ -119,7 +119,7 @@ LoadPatchWindow::ok_clicked()
App::instance().engine()->clear_patch(m_patch->path());
cerr << "FIXME: load patch" << endl;
- //CountedPtr<PatchModel> pm(new PatchModel(m_patch->path(), poly));
+ //SharedPtr<PatchModel> pm(new PatchModel(m_patch->path(), poly));
//pm->filename(get_filename());
//pm->set_metadata("filename", Atom(get_filename().c_str()));
// FIXME: necessary?