diff options
author | David Robillard <d@drobilla.net> | 2009-03-02 18:26:08 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-03-02 18:26:08 +0000 |
commit | 97f022575c63491275f9bc2f8496e38c50f92f55 (patch) | |
tree | 2bba8735bf8bfeb767a0fed80fe2c4c6462b8e79 /gtk2_ardour/automation_line.cc | |
parent | c21479a3aae97923e1c5f2e784784b28f8cf883e (diff) |
Fix build. Ahem.
git-svn-id: svn://localhost/ardour2/branches/3.0@4718 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/automation_line.cc')
-rw-r--r-- | gtk2_ardour/automation_line.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk2_ardour/automation_line.cc b/gtk2_ardour/automation_line.cc index 49e583ba36..5654ac2296 100644 --- a/gtk2_ardour/automation_line.cc +++ b/gtk2_ardour/automation_line.cc @@ -786,22 +786,22 @@ AutomationLine::line_drag (uint32_t i1, uint32_t i2, float fraction, bool with_p for (uint32_t i = i1 ; i <= i2; i++) { cp = nth (i); - if ( cp->selected ) { + if (cp->selected()) { range_found = true; } } if (range_found) { for (vector<ControlPoint*>::iterator i = control_points.begin(); i != control_points.end(); ++i) { - if ( (*i)->selected ) { - modify_view_point (*(*i), trackview.editor.unit_to_frame ((*i)->get_x()), ((_height - (*i)->get_y()) /_height) + ydelta, with_push); + if ((*i)->selected()) { + modify_view_point (*(*i), trackview.editor().unit_to_frame ((*i)->get_x()), ((_height - (*i)->get_y()) /_height) + ydelta, with_push); } } } else { ControlPoint *cp; for (uint32_t i = i1 ; i <= i2; i++) { cp = nth (i); - modify_view_point (*cp, trackview.editor.unit_to_frame (cp->get_x()), ((_height - cp->get_y()) /_height) + ydelta, with_push); + modify_view_point (*cp, trackview.editor().unit_to_frame (cp->get_x()), ((_height - cp->get_y()) /_height) + ydelta, with_push); } } |