diff options
Diffstat (limited to 'gtk2_ardour/control_point.cc')
-rw-r--r-- | gtk2_ardour/control_point.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/control_point.cc b/gtk2_ardour/control_point.cc index 9b588d1bab..90761d77c8 100644 --- a/gtk2_ardour/control_point.cc +++ b/gtk2_ardour/control_point.cc @@ -167,8 +167,8 @@ ControlPoint::move_to (double x, double y, ShapeType shape) _shape = shape; } -void -ControlPoint::i2w (double& x, double& y) const +ArdourCanvas::Item& +ControlPoint::item() const { - _item->item_to_canvas (x, y); + return *_item; } |