summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_ops.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/editor_ops.cc')
-rw-r--r--gtk2_ardour/editor_ops.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc
index 18d4a4a37b..409165e879 100644
--- a/gtk2_ardour/editor_ops.cc
+++ b/gtk2_ardour/editor_ops.cc
@@ -1472,7 +1472,7 @@ Editor::insert_region_list_drag (AudioRegion& region)
track_canvas->get_pointer (x, y);
- gtk_canvas_window_to_world (GTK_CANVAS(track_gtk_canvas), x, y, &wx, &wy);
+ gnome_canvas_window_to_world (GNOME_CANVAS(track_gnome_canvas), x, y, &wx, &wy);
GdkEvent event;
event.type = GDK_BUTTON_RELEASE;
@@ -3173,7 +3173,7 @@ Editor::mouse_paste ()
double wx, wy;
track_canvas->get_pointer (x, y);
- gtk_canvas_window_to_world (GTK_CANVAS(track_gtk_canvas), x, y, &wx, &wy);
+ gnome_canvas_window_to_world (GNOME_CANVAS(track_gnome_canvas), x, y, &wx, &wy);
GdkEvent event;
event.type = GDK_BUTTON_RELEASE;