diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-05-02 21:12:59 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-05-02 21:12:59 -0400 |
commit | 00f94a04cca8ac27a64924263e134ff0ab3daa4d (patch) | |
tree | 7d5ebd80e0e5e20a882103aad5be078d3ddc3633 /gtk2_ardour | |
parent | 12d4c510232d2f37e8ab5897c2de7badc2b8fac8 (diff) |
remove unused virtual event handlers from PluginUIWindow
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/plugin_ui.cc | 36 | ||||
-rw-r--r-- | gtk2_ardour/plugin_ui.h | 5 |
2 files changed, 0 insertions, 41 deletions
diff --git a/gtk2_ardour/plugin_ui.cc b/gtk2_ardour/plugin_ui.cc index 8868279cf5..943a7a8bce 100644 --- a/gtk2_ardour/plugin_ui.cc +++ b/gtk2_ardour/plugin_ui.cc @@ -168,42 +168,6 @@ PluginUIWindow::~PluginUIWindow () } 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 () { set_role("plugin_ui"); diff --git a/gtk2_ardour/plugin_ui.h b/gtk2_ardour/plugin_ui.h index be03e6ede4..cf86f3e1bb 100644 --- a/gtk2_ardour/plugin_ui.h +++ b/gtk2_ardour/plugin_ui.h @@ -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; |