From 52d41fa4e1e8d76dae8cbc55c5f1e640c785ea75 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sun, 28 Mar 2021 15:53:35 -0600 Subject: [PATCH] fix timeline type usage on macOS --- gtk2_ardour/editor_canvas.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gtk2_ardour/editor_canvas.cc b/gtk2_ardour/editor_canvas.cc index 23980fe505..f79171b6be 100644 --- a/gtk2_ardour/editor_canvas.cc +++ b/gtk2_ardour/editor_canvas.cc @@ -390,9 +390,9 @@ Editor::track_canvas_drag_data_received (const RefPtr& context } bool -Editor::idle_drop_paths (vector paths, timepos_t sample, double ypos, bool copy) +Editor::idle_drop_paths (vector paths, timepos_t pos, double ypos, bool copy) { - drop_paths_part_two (paths, sample, ypos, copy); + drop_paths_part_two (paths, pos, ypos, copy); return false; } @@ -482,7 +482,7 @@ Editor::drop_paths (const RefPtr& context, the main event loop with GTK/Quartz. Since import/embed wants to push up a progress dialog, defer all this till we go idle. */ - Glib::signal_idle().connect (sigc::bind (sigc::mem_fun (*this, &Editor::idle_drop_paths), paths, when.sample, cy, copy)); + Glib::signal_idle().connect (sigc::bind (sigc::mem_fun (*this, &Editor::idle_drop_paths), paths, when, cy, copy)); #else drop_paths_part_two (paths, when, cy, copy); #endif