summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_canvas.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2008-09-19 10:42:09 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2008-09-19 10:42:09 +0000
commit21ea541267361b03c66a9cc330b7c862d7bc8e85 (patch)
tree24c23aca13597cfadea84b98c9f8a857f4894282 /gtk2_ardour/editor_canvas.cc
parent959907af01dd398fd45ee28413d37f5516ce6047 (diff)
shift-click to extend marker selection; marker drag moves all selected markers
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3758 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_canvas.cc')
-rw-r--r--gtk2_ardour/editor_canvas.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk2_ardour/editor_canvas.cc b/gtk2_ardour/editor_canvas.cc
index 6edf2631a1..ef16b42435 100644
--- a/gtk2_ardour/editor_canvas.cc
+++ b/gtk2_ardour/editor_canvas.cc
@@ -410,7 +410,7 @@ Editor::controls_layout_size_request (Requisition* req)
/* this one is important: it determines how big the layout thinks it really is, as
opposed to what it displays on the screen
*/
- controls_layout.set_size (edit_controls_vbox.get_width(), pos );
+ controls_layout.set_size (edit_controls_vbox.get_width(), (guint) floor (pos));
controls_layout.set_size_request(edit_controls_vbox.get_width(), -1);
time_button_event_box.set_size_request(edit_controls_vbox.get_width(), -1);
zoom_box.set_size_request(edit_controls_vbox.get_width(), -1);
@@ -641,7 +641,6 @@ Editor::autoscroll_canvas ()
nframes64_t new_frame;
nframes64_t limit = max_frames - current_page_frames();
GdkEventMotion ev;
- bool in_track_canvas;
double new_pixel;
double target_pixel;