diff options
Diffstat (limited to 'src/gui/Port.cpp')
-rw-r--r-- | src/gui/Port.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/Port.cpp b/src/gui/Port.cpp index dc7d0254..5d6d7f39 100644 --- a/src/gui/Port.cpp +++ b/src/gui/Port.cpp @@ -162,7 +162,7 @@ Port::on_event(GdkEvent* ev) break; } - return Object::on_event(ev); + return FlowCanvas::Port::on_event(ev); } bool @@ -309,9 +309,9 @@ Port::dash() */ void -Port::set_selected(bool b) +Port::set_selected(gboolean b) { - if (b != selected()) { + if (b != get_selected()) { FlowCanvas::Port::set_selected(b); SharedPtr<const PortModel> pm = _port_model.lock(); if (pm && b) { |