diff options
author | David Robillard <d@drobilla.net> | 2011-12-04 05:34:24 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-12-04 05:34:24 +0000 |
commit | 314822117b6af5c2468f2a7772092591cd15044b (patch) | |
tree | fb02ec4dcd030cb9f2c780e9f83f6e5f3d6889b3 /src/PatchageCanvas.cpp | |
parent | b06e13296138eddc38fbfc18e53c4f98703f6b65 (diff) | |
download | patchage-314822117b6af5c2468f2a7772092591cd15044b.tar.gz patchage-314822117b6af5c2468f2a7772092591cd15044b.tar.bz2 patchage-314822117b6af5c2468f2a7772092591cd15044b.zip |
Store C items in Canvas.
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3792 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/PatchageCanvas.cpp')
-rw-r--r-- | src/PatchageCanvas.cpp | 4 |
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; |