diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-02-26 08:43:53 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-02-26 08:43:53 -0500 |
commit | c04285addf47b71c4046a97de231cab88edd5241 (patch) | |
tree | 7fd4d9fd63ee4abe9ef7ad51f027237ee0902671 /gtk2_ardour/editor_rulers.cc | |
parent | 0c283ba657d161e6380ae055d54aa45453aa7013 (diff) |
convert canvas_event_frame() and window_event_frame() to canvas_event_sample() and window_event_sample() to go along with the convention adopted in cairocanvas code re: frames+samples
Diffstat (limited to 'gtk2_ardour/editor_rulers.cc')
-rw-r--r-- | gtk2_ardour/editor_rulers.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_rulers.cc b/gtk2_ardour/editor_rulers.cc index 4470dfbef8..0a5ebf7410 100644 --- a/gtk2_ardour/editor_rulers.cc +++ b/gtk2_ardour/editor_rulers.cc @@ -288,7 +288,7 @@ Editor::ruler_button_release (GdkEventButton* ev) stop_canvas_autoscroll(); - framepos_t where = window_event_frame ((GdkEvent*) ev); + framepos_t where = window_event_sample ((GdkEvent*) ev); snap_to (where); popup_ruler_menu (where); |