summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gtk2_ardour/plugin_ui.cc36
-rw-r--r--gtk2_ardour/plugin_ui.h5
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;