removed no-longer-used Editor::track_canvas_motion()
authorPaul Davis <paul@linuxaudiosystems.com>
Thu, 26 Jun 2014 19:04:59 +0000 (15:04 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Thu, 26 Jun 2014 19:10:24 +0000 (15:10 -0400)
gtk2_ardour/editor.h
gtk2_ardour/editor_canvas_events.cc

index 403ce683cd8623bdf472f293c96c483048326436..bf4783409c1309387c663cf68946a68f9cab02df 100644 (file)
@@ -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;
 
index e684182c121edda9683740fe989ca0899a238ca3..8efb3d56e958ab2f9e7b7ce18ad1825c0ee9ddae 100644 (file)
@@ -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)
 {