13
0

remove another pointless adjustment

This commit is contained in:
Paul Davis 2013-04-13 07:50:31 -04:00
parent 05caa9caa1
commit cfe4bfb732
2 changed files with 1 additions and 3 deletions

View File

@ -699,7 +699,6 @@ class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARD
ArdourCanvas::GtkCanvas* _time_bars_canvas;
ArdourCanvas::GtkCanvasViewport* _time_bars_canvas_viewport;
Gtk::Adjustment* _time_bars_canvas_vadj;
bool within_track_canvas;

View File

@ -71,8 +71,7 @@ Editor::initialize_canvas ()
_track_canvas_viewport = new ArdourCanvas::GtkCanvasViewport (horizontal_adjustment, vertical_adjustment);
_track_canvas = _track_canvas_viewport->canvas ();
_time_bars_canvas_vadj = new Adjustment (0, 0, 1e16);
_time_bars_canvas_viewport = new ArdourCanvas::GtkCanvasViewport (horizontal_adjustment, *_time_bars_canvas_vadj);
_time_bars_canvas_viewport = new ArdourCanvas::GtkCanvasViewport (horizontal_adjustment, unused_adjustment);
_time_bars_canvas = _time_bars_canvas_viewport->canvas ();
_verbose_cursor = new VerboseCursor (this);