summaryrefslogtreecommitdiffstats
path: root/src/PatchageCanvas.cpp
diff options
context:
space:
mode:
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));