summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-12-02 20:43:56 +0000
committerDavid Robillard <d@drobilla.net>2011-12-02 20:43:56 +0000
commit0654b5d4017b2dbd605ea9d7567f220ceeca44e1 (patch)
tree00095c0785d6082099ba10e199f61b196a47d3ec
parent23ef587a9a9f118caff223de77014f64189a353e (diff)
downloadpatchage-0654b5d4017b2dbd605ea9d7567f220ceeca44e1.tar.gz
patchage-0654b5d4017b2dbd605ea9d7567f220ceeca44e1.tar.bz2
patchage-0654b5d4017b2dbd605ea9d7567f220ceeca44e1.zip
Remove Shape typedef.
Add Box wrapper class. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3752 a436a847-0d15-0410-975c-d299462d15a1
-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 42f3393..907cdba 100644
--- a/src/PatchageCanvas.cpp
+++ b/src/PatchageCanvas.cpp
@@ -303,7 +303,7 @@ PatchageCanvas::make_connection(FlowCanvas::Node* tail,
}
bool
-PatchageCanvas::remove_item(FlowCanvas::Shape* i)
+PatchageCanvas::remove_item(FlowCanvas::Node* i)
{
// Remove item from canvas
const bool ret = FlowCanvas::Canvas::remove_item(i);
diff --git a/src/PatchageCanvas.hpp b/src/PatchageCanvas.hpp
index aaf7077..0fd394e 100644
--- a/src/PatchageCanvas.hpp
+++ b/src/PatchageCanvas.hpp
@@ -74,7 +74,7 @@ public:
private:
Patchage* _app;
- bool remove_item(FlowCanvas::Shape* i);
+ bool remove_item(FlowCanvas::Node* i);
bool on_event(GdkEvent* ev);
bool on_connection_event(FlowCanvas::Edge* c, GdkEvent* ev);