remove unused virtual event handlers from PluginUIWindow
authorPaul Davis <paul@linuxaudiosystems.com>
Fri, 3 May 2013 01:12:59 +0000 (21:12 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Fri, 3 May 2013 01:12:59 +0000 (21:12 -0400)
gtk2_ardour/plugin_ui.cc
gtk2_ardour/plugin_ui.h

index 8868279cf54cccff1e7da7a035b00984934fd3ed..943a7a8bce4b058a77588a1710cfb22def3a8892 100644 (file)
@@ -167,42 +167,6 @@ PluginUIWindow::~PluginUIWindow ()
        delete _pluginui;
 }
 
-void
-PluginUIWindow::on_map ()
-{
-       Window::on_map ();
-}
-
-bool
-PluginUIWindow::on_enter_notify_event (GdkEventCrossing *ev)
-{
-       Keyboard::the_keyboard().enter_window (ev, this);
-       return false;
-}
-
-bool
-PluginUIWindow::on_leave_notify_event (GdkEventCrossing *ev)
-{
-       Keyboard::the_keyboard().leave_window (ev, this);
-       return false;
-}
-
-bool
-PluginUIWindow::on_focus_in_event (GdkEventFocus *ev)
-{
-       Window::on_focus_in_event (ev);
-       //Keyboard::the_keyboard().magic_widget_grab_focus ();
-       return false;
-}
-
-bool
-PluginUIWindow::on_focus_out_event (GdkEventFocus *ev)
-{
-       Window::on_focus_out_event (ev);
-       //Keyboard::the_keyboard().magic_widget_drop_focus ();
-       return false;
-}
-
 void
 PluginUIWindow::on_show ()
 {
index be03e6ede46b58bbc705a27979c69285e1113b76..cf86f3e1bb4814e7872a98a216cc2ce587026900 100644 (file)
@@ -294,15 +294,10 @@ class PluginUIWindow : public ArdourWindow
        void set_title(const std::string& title);
 
 
-       bool on_enter_notify_event (GdkEventCrossing*);
-       bool on_leave_notify_event (GdkEventCrossing*);
-       bool on_focus_in_event (GdkEventFocus*);
-       bool on_focus_out_event (GdkEventFocus*);
        bool on_key_press_event (GdkEventKey*);
        bool on_key_release_event (GdkEventKey*);
        void on_show ();
        void on_hide ();
-       void on_map ();
 
   private:
        std::string _title;