From 2b30e701fff850ed8de005833e8039abe0ddc45e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 9 Mar 2012 22:31:06 +0000 Subject: Fix "disconnect all". git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@4036 a436a847-0d15-0410-975c-d299462d15a1 --- src/PatchageCanvas.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/PatchageCanvas.cpp') 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)); -- cgit v1.2.1