diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-08-22 16:28:26 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-08-22 16:28:26 +0000 |
commit | 71a4796dc3dbf8a7fe1df5c5d7acea388b40eae0 (patch) | |
tree | 0fba71173e48e99c010549949e6872d8299d433b /gtk2_ardour/editor_tempodisplay.cc | |
parent | 43bcb7f72b8ea64bab7861ff24d488d4d09a7293 (diff) |
forward port of 7539 from 2.x
git-svn-id: svn://localhost/ardour2/branches/3.0@7667 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_tempodisplay.cc')
-rw-r--r-- | gtk2_ardour/editor_tempodisplay.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_tempodisplay.cc b/gtk2_ardour/editor_tempodisplay.cc index edfaee3694..048c0d2ccb 100644 --- a/gtk2_ardour/editor_tempodisplay.cc +++ b/gtk2_ardour/editor_tempodisplay.cc @@ -45,6 +45,7 @@ #include "time_axis_view.h" #include "ardour_ui.h" #include "tempo_lines.h" +#include "utils.h" #include "i18n.h" @@ -189,7 +190,7 @@ Editor::draw_measures () } if (tempo_lines == 0) { - tempo_lines = new TempoLines(*track_canvas, time_line_group, physical_screen_height); + tempo_lines = new TempoLines(*track_canvas, time_line_group, physical_screen_height(get_window())); } tempo_lines->draw(*current_bbt_points, frames_per_unit); |