From 00f94a04cca8ac27a64924263e134ff0ab3daa4d Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 2 May 2013 21:12:59 -0400 Subject: [PATCH] remove unused virtual event handlers from PluginUIWindow --- gtk2_ardour/plugin_ui.cc | 36 ------------------------------------ gtk2_ardour/plugin_ui.h | 5 ----- 2 files changed, 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 @@ -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 () { 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;