summaryrefslogtreecommitdiffstats
path: root/src/Patchage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Patchage.cpp')
-rw-r--r--src/Patchage.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Patchage.cpp b/src/Patchage.cpp
index 1e057bd..94dfd34 100644
--- a/src/Patchage.cpp
+++ b/src/Patchage.cpp
@@ -159,7 +159,8 @@ Patchage::Patchage(Options options)
, _pane_initialized(false)
, _attach(true)
{
- _canvas = std::make_shared<PatchageCanvas>(_connector, 1600 * 2, 1200 * 2);
+ _canvas = std::unique_ptr<PatchageCanvas>{
+ new PatchageCanvas(_connector, 1600 * 2, 1200 * 2)};
Glib::set_application_name("Patchage");
_about_win->property_program_name() = "Patchage";