diff --git a/gtk2_ardour/windows_vst_plugin_ui.cc b/gtk2_ardour/windows_vst_plugin_ui.cc index 6288ba50e1..0652168f5b 100644 --- a/gtk2_ardour/windows_vst_plugin_ui.cc +++ b/gtk2_ardour/windows_vst_plugin_ui.cc @@ -50,10 +50,6 @@ WindowsVSTPluginUI::package (Gtk::Window& win) { VSTPluginUI::package (win); - /* This assumes that the window's owner understands the XEmbed protocol */ - - _socket.add_id (fst_get_XID (_vst->state ())); - fst_move_window_into_view (_vst->state ()); return 0; diff --git a/gtk2_ardour/windows_vst_plugin_ui.h b/gtk2_ardour/windows_vst_plugin_ui.h index 646d0c2993..7b23f2cb33 100644 --- a/gtk2_ardour/windows_vst_plugin_ui.h +++ b/gtk2_ardour/windows_vst_plugin_ui.h @@ -25,8 +25,6 @@ public: WindowsVSTPluginUI (boost::shared_ptr, boost::shared_ptr); ~WindowsVSTPluginUI (); - gint get_preferred_height (); - gint get_preferred_width (); bool start_updating (GdkEventAny*) { return false; } bool stop_updating (GdkEventAny*) { return false; }