diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-07-09 22:03:32 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-07-09 22:03:32 +0000 |
commit | 7aa66b6623aedbe7614ae153dee8f5b97c3e1c75 (patch) | |
tree | 0df9155ee3b71493e20e9e0cc38c3d5405509f12 | |
parent | 3dcbdc0fe624f92121e9931365be75921f301b8c (diff) |
remove extra unused argument to ::sync_model_with_view_point(s)
git-svn-id: svn://localhost/ardour2/branches/3.0@13005 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r-- | gtk2_ardour/automation_line.cc | 10 | ||||
-rw-r--r-- | gtk2_ardour/automation_line.h | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/gtk2_ardour/automation_line.cc b/gtk2_ardour/automation_line.cc index f5d2669d0a..1c5bfbb4b7 100644 --- a/gtk2_ardour/automation_line.cc +++ b/gtk2_ardour/automation_line.cc @@ -266,7 +266,7 @@ AutomationLine::modify_point_y (ControlPoint& cp, double y) } alist->freeze (); - sync_model_with_view_point (cp, 0); + sync_model_with_view_point (cp); alist->thaw (); update_pending = false; @@ -289,12 +289,12 @@ AutomationLine::reset_line_coords (ControlPoint& cp) } void -AutomationLine::sync_model_with_view_points (list<ControlPoint*> cp, int64_t distance) +AutomationLine::sync_model_with_view_points (list<ControlPoint*> cp) { update_pending = true; for (list<ControlPoint*>::iterator i = cp.begin(); i != cp.end(); ++i) { - sync_model_with_view_point (**i, distance); + sync_model_with_view_point (**i); } } @@ -586,7 +586,7 @@ AutomationLine::end_drag () points.sort (ControlPointSorter ()); } - sync_model_with_view_points (points, trackview.editor().unit_to_frame (_drag_distance)); + sync_model_with_view_points (points); alist->thaw (); @@ -601,7 +601,7 @@ AutomationLine::end_drag () } void -AutomationLine::sync_model_with_view_point (ControlPoint& cp, framecnt_t distance) +AutomationLine::sync_model_with_view_point (ControlPoint& cp) { /* find out where the visual control point is. initial results are in canvas units. ask the diff --git a/gtk2_ardour/automation_line.h b/gtk2_ardour/automation_line.h index b758dfb557..b78c2da676 100644 --- a/gtk2_ardour/automation_line.h +++ b/gtk2_ardour/automation_line.h @@ -179,8 +179,8 @@ class AutomationLine : public sigc::trackable, public PBD::StatefulDestructible ArdourCanvas::Points line_points; /* coordinates for canvas line */ std::vector<ControlPoint*> control_points; /* visible control points */ - void sync_model_with_view_point (ControlPoint&, ARDOUR::framecnt_t); - void sync_model_with_view_points (std::list<ControlPoint*>, ARDOUR::framecnt_t); + void sync_model_with_view_point (ControlPoint&); + void sync_model_with_view_points (std::list<ControlPoint*>); void start_drag_common (double, float); virtual void change_model (ARDOUR::AutomationList::iterator, double x, double y); |