summaryrefslogtreecommitdiffstats
path: root/src/PatchageCanvas.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-03-09 22:31:06 +0000
committerDavid Robillard <d@drobilla.net>2012-03-09 22:31:06 +0000
commit2b30e701fff850ed8de005833e8039abe0ddc45e (patch)
tree0b8ab83a22fb0e0cfceb102cfcda1e82e2f64058 /src/PatchageCanvas.cpp
parentbf13f4358a9f740d719dc48e4225194cfc618088 (diff)
downloadpatchage-2b30e701fff850ed8de005833e8039abe0ddc45e.tar.gz
patchage-2b30e701fff850ed8de005833e8039abe0ddc45e.tar.bz2
patchage-2b30e701fff850ed8de005833e8039abe0ddc45e.zip
Fix "disconnect all".
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@4036 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/PatchageCanvas.cpp')
-rw-r--r--src/PatchageCanvas.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/PatchageCanvas.cpp b/src/PatchageCanvas.cpp
index fcb4fca..92f6bef 100644
--- a/src/PatchageCanvas.cpp
+++ b/src/PatchageCanvas.cpp
@@ -330,10 +330,9 @@ PatchageCanvas::on_event(GdkEvent* ev)
bool
PatchageCanvas::make_connection(Ganv::Node* tail,
Ganv::Node* head,
- uint32_t color)
+ uint32_t color)
{
- Ganv::Edge* c = new Ganv::Edge(
- *this, tail, head, color);
+ Ganv::Edge* c = new Ganv::Edge(*this, tail, head, color);
c->signal_event().connect(
sigc::bind<0>(sigc::mem_fun(*this, &PatchageCanvas::on_connection_event),
c));