change placement of ruler divider so that the lower line is at the specified height...
[ardour.git] / gtk2_ardour / vst_plugin_ui.cc
index 6ed5b9af03241932bb41fcda45440c4f58bddeee..56b83449276a50e373de46e0b71a2439f2191cbb 100644 (file)
@@ -20,6 +20,7 @@
 #include <gtkmm.h>
 #include "ardour/vst_plugin.h"
 #include "ardour/vst_types.h"
+#include "ardour/plugin_insert.h"
 #include "vst_plugin_ui.h"
 
 #ifdef PLATFORM_WINDOWS
@@ -59,12 +60,12 @@ VSTPluginUI::~VSTPluginUI ()
 }
 
 void
-VSTPluginUI::preset_selected ()
+VSTPluginUI::preset_selected (ARDOUR::Plugin::PresetRecord preset)
 {
 #ifdef GDK_WINDOWING_X11
        _socket.grab_focus ();
 #endif
-       PlugUIBase::preset_selected ();
+       PlugUIBase::preset_selected (preset);
 }
 
 int