summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_rulers.cc
diff options
context:
space:
mode:
authorTaybin Rutkin <taybin@taybin.com>2005-10-22 17:33:14 +0000
committerTaybin Rutkin <taybin@taybin.com>2005-10-22 17:33:14 +0000
commite0946701e10074f51dca50191fed201f1b922477 (patch)
tree1e5279f5ebd085386e97f4153e29ccad78116178 /gtk2_ardour/editor_rulers.cc
parent50f41b7bd3562aa416ebaa0d19816bac955e19d9 (diff)
More compliation fixes. add_with_viewport() -> add(). track_gnome_canvas -> track_canvas. etc.
git-svn-id: svn://localhost/trunk/ardour2@66 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_rulers.cc')
-rw-r--r--gtk2_ardour/editor_rulers.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/editor_rulers.cc b/gtk2_ardour/editor_rulers.cc
index 275019e6eb..1a4ba1a579 100644
--- a/gtk2_ardour/editor_rulers.cc
+++ b/gtk2_ardour/editor_rulers.cc
@@ -225,8 +225,8 @@ Editor::ruler_mouse_motion (GdkEventMotion* ev)
time_canvas_event_box.get_window()->get_pointer (x, y, state);
- gnome_canvas_window_to_world (GNOME_CANVAS(track_gnome_canvas), x, y, &wcx, &wcy);
- gnome_canvas_w2c_d (GNOME_CANVAS(track_gnome_canvas), wcx, wcy, &cx, &cy);
+ gnome_canvas_window_to_world (GNOME_CANVAS(track_canvas), x, y, &wcx, &wcy);
+ gnome_canvas_w2c_d (GNOME_CANVAS(track_canvas), wcx, wcy, &cx, &cy);
jack_nframes_t where = leftmost_frame + pixel_to_frame (x);