diff options
author | Carl Hetherington <carl@carlh.net> | 2012-03-22 16:41:44 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2012-03-22 16:41:44 +0000 |
commit | 64425f77e71833d913a5834ed13354b4199c40d2 (patch) | |
tree | dde559eee69fd3a4e43a4ac4761afe3d3e246c46 /gtk2_ardour/editor_ops.cc | |
parent | 3120bae8b41f3eecad25534ab6953e1b123ab9de (diff) |
Remove unused op parameter to temporal_zoom_by_frame. Add Zoom to Range option to range marker context menu (#4778).
git-svn-id: svn://localhost/ardour2/branches/3.0@11750 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_ops.cc')
-rw-r--r-- | gtk2_ardour/editor_ops.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc index bcc596a352..1dbad3ac2e 100644 --- a/gtk2_ardour/editor_ops.cc +++ b/gtk2_ardour/editor_ops.cc @@ -1493,7 +1493,7 @@ Editor::temporal_zoom_region (bool both_axes) PBD::Unwinder<bool> nsv (no_save_visual, true); - temporal_zoom_by_frame (start, end, "zoom to region"); + temporal_zoom_by_frame (start, end); if (both_axes) { uint32_t per_track_height = (uint32_t) floor ((_canvas_height - canvas_timebars_vsize - 10.0) / tracks.size()); @@ -1540,7 +1540,7 @@ Editor::temporal_zoom_selection () framepos_t start = selection->time[clicked_selection].start; framepos_t end = selection->time[clicked_selection].end; - temporal_zoom_by_frame (start, end, "zoom to selection"); + temporal_zoom_by_frame (start, end); } void @@ -1555,12 +1555,12 @@ Editor::temporal_zoom_session () s = 0; } framecnt_t const e = _session->current_end_frame() + l * 0.01; - temporal_zoom_by_frame (framecnt_t (s), e, "zoom to _session"); + temporal_zoom_by_frame (framecnt_t (s), e); } } void -Editor::temporal_zoom_by_frame (framepos_t start, framepos_t end, const string & /*op*/) +Editor::temporal_zoom_by_frame (framepos_t start, framepos_t end) { if (!_session) return; |