summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_canvas.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2006-01-17 16:40:57 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2006-01-17 16:40:57 +0000
commit2e582e03e433d4fab22b8dcd1d46b9caef387cb5 (patch)
tree656ef9a9575f1dd54c91f7f02952942a4644ec89 /gtk2_ardour/editor_canvas.cc
parentaa659d3788d6aa67eabf24ea43e73da764e6827f (diff)
a metric boatload of changes; plugin UIs work, adding tracks work, redirect list is useful again, and more
git-svn-id: svn://localhost/trunk/ardour2@273 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_canvas.cc')
-rw-r--r--gtk2_ardour/editor_canvas.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/gtk2_ardour/editor_canvas.cc b/gtk2_ardour/editor_canvas.cc
index d999c1187e..8db3ce7556 100644
--- a/gtk2_ardour/editor_canvas.cc
+++ b/gtk2_ardour/editor_canvas.cc
@@ -373,12 +373,6 @@ Editor::reset_scrolling_region (Gtk::Allocation* alloc)
}
}
- RefPtr<Gdk::Screen> screen = get_screen();
-
- if (!screen) {
- screen = Gdk::Screen::get_default();
- }
-
double last_canvas_unit = ceil ((double) max_frames / frames_per_unit);
track_canvas.set_scroll_region (0.0, 0.0, max (last_canvas_unit, canvas_width), pos);