summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-01-06 02:07:00 +0000
committerCarl Hetherington <carl@carlh.net>2010-01-06 02:07:00 +0000
commit04bb3de7a500adb58adfc254581409307e7cccda (patch)
treed375f5f6e67ac54dbfd8831255d5991c31920d88 /gtk2_ardour
parent8418f8cea6a66991b4a4c591c25102cb77ce3a55 (diff)
Fix segfault on startup caused by previous patch.
git-svn-id: svn://localhost/ardour2/branches/3.0@6463 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/editor.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc
index 9f7128a76a..5c5d3abad9 100644
--- a/gtk2_ardour/editor.cc
+++ b/gtk2_ardour/editor.cc
@@ -4325,13 +4325,6 @@ Editor::idle_visual_changer ()
update_tempo_based_rulers ();
}
if (p & VisualChange::TimeOrigin) {
- // Add a little extra so we can see the end marker
- nframes64_t e = 0;
- if (_session) {
- e = _session->current_end_frame ();
- }
- e += current_page_frames () / 10;
- horizontal_adjustment.set_upper (e / frames_per_unit);
horizontal_adjustment.set_value (pending_visual_change.time_origin / frames_per_unit);
}
if (p & VisualChange::YOrigin) {