summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/PatchageCanvas.cpp2
-rw-r--r--src/PatchageCanvas.hpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/PatchageCanvas.cpp b/src/PatchageCanvas.cpp
index c1471c8..44e844f 100644
--- a/src/PatchageCanvas.cpp
+++ b/src/PatchageCanvas.cpp
@@ -303,7 +303,7 @@ PatchageCanvas::make_connection(FlowCanvas::Joinable* tail,
}
bool
-PatchageCanvas::remove_item(FlowCanvas::Item* i)
+PatchageCanvas::remove_item(FlowCanvas::Shape* i)
{
// Remove item from canvas
const bool ret = FlowCanvas::Canvas::remove_item(i);
diff --git a/src/PatchageCanvas.hpp b/src/PatchageCanvas.hpp
index f1120d8..efd403e 100644
--- a/src/PatchageCanvas.hpp
+++ b/src/PatchageCanvas.hpp
@@ -74,7 +74,7 @@ public:
private:
Patchage* _app;
- bool remove_item(FlowCanvas::Item* i);
+ bool remove_item(FlowCanvas::Shape* i);
bool on_event(GdkEvent* ev);
bool on_connection_event(FlowCanvas::Connection* c, GdkEvent* ev);