diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-06-05 19:49:51 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-06-05 20:50:57 -0400 |
commit | 8125ea590986a3301f91b44aafeebd784c2ee6b4 (patch) | |
tree | 7cd13fec99de54412d28bd36be7ca6630f0b4bb8 /gtk2_ardour/automation_line.cc | |
parent | 6adac6032376e12f90f0c480ceded1ff811b9d1e (diff) |
tweak API of Selectable
Diffstat (limited to 'gtk2_ardour/automation_line.cc')
-rw-r--r-- | gtk2_ardour/automation_line.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/automation_line.cc b/gtk2_ardour/automation_line.cc index cf7e10dd8a..5d3f0782e8 100644 --- a/gtk2_ardour/automation_line.cc +++ b/gtk2_ardour/automation_line.cc @@ -171,7 +171,7 @@ AutomationLine::update_visibility () } } else if (_visible & SelectedControlPoints) { for (vector<ControlPoint*>::iterator i = control_points.begin(); i != control_points.end(); ++i) { - if ((*i)->get_selected()) { + if ((*i)->selected()) { (*i)->show (); } else { (*i)->hide (); @@ -470,9 +470,9 @@ AutomationLine::start_drag_single (ControlPoint* cp, double x, float fraction) _drag_points.clear (); _drag_points.push_back (cp); - if (cp->get_selected ()) { + if (cp->selected ()) { for (vector<ControlPoint*>::iterator i = control_points.begin(); i != control_points.end(); ++i) { - if (*i != cp && (*i)->get_selected()) { + if (*i != cp && (*i)->selected()) { _drag_points.push_back (*i); } } |