diff --git a/gtk2_ardour/editor.h b/gtk2_ardour/editor.h index 403ce683cd..bf4783409c 100644 --- a/gtk2_ardour/editor.h +++ b/gtk2_ardour/editor.h @@ -723,8 +723,6 @@ class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARD void parameter_changed (std::string); void ui_parameter_changed (std::string); - bool track_canvas_motion (GdkEvent*); - Gtk::EventBox time_bars_event_box; Gtk::VBox time_bars_vbox; diff --git a/gtk2_ardour/editor_canvas_events.cc b/gtk2_ardour/editor_canvas_events.cc index e684182c12..8efb3d56e9 100644 --- a/gtk2_ardour/editor_canvas_events.cc +++ b/gtk2_ardour/editor_canvas_events.cc @@ -30,6 +30,7 @@ #include "canvas/canvas.h" #include "canvas/text.h" +#include "canvas/scroll_group.h" #include "editor.h" #include "keyboard.h" @@ -199,16 +200,6 @@ Editor::track_canvas_motion_notify_event (GdkEventMotion */*event*/) return false; } -bool -Editor::track_canvas_motion (GdkEvent *ev) -{ - if (_verbose_cursor->visible ()) { - _verbose_cursor->set_position (ev->motion.x + 10, ev->motion.y + 10); - } - - return false; -} - bool Editor::typed_event (ArdourCanvas::Item* item, GdkEvent *event, ItemType type) {