summaryrefslogtreecommitdiffstats
path: root/src/PatchageCanvas.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/PatchageCanvas.cpp')
-rw-r--r--src/PatchageCanvas.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PatchageCanvas.cpp b/src/PatchageCanvas.cpp
index acba522..36b207d 100644
--- a/src/PatchageCanvas.cpp
+++ b/src/PatchageCanvas.cpp
@@ -332,14 +332,14 @@ PatchageCanvas::make_connection(FlowCanvas::Node* tail,
}
bool
-PatchageCanvas::remove_item(FlowCanvas::Node* i)
+PatchageCanvas::remove_item(FlowCanvasNode* i)
{
// Remove item from canvas
const bool ret = FlowCanvas::Canvas::remove_item(i);
if (!ret)
return ret;
- PatchageModule* const module = dynamic_cast<PatchageModule*>(i);
+ PatchageModule* const module = dynamic_cast<PatchageModule*>(Glib::wrap(i));
if (!module)
return ret;