Move duplicated AudioFileSource::Flags and SMFSource::Flags into Source.
[ardour.git] / gtk2_ardour / vst_pluginui.cc
index 1320ccdc7a03ff3642f1565ef5bc875ed6794944..aba100a97ce26ba69d4d108f93696701634b523d 100644 (file)
@@ -19,7 +19,7 @@
 
 #include <fst.h>
 #include <gtk/gtksocket.h>
-#include <ardour/insert.h>
+#include <ardour/processor.h>
 #include <ardour/vst_plugin.h>
 
 #include "plugin_ui.h"
@@ -38,7 +38,7 @@ VSTPluginUI::VSTPluginUI (boost::shared_ptr<PluginInsert> pi, boost::shared_ptr<
 
        preset_box.pack_end (bypass_button, false, false, 10);
        preset_box.pack_end (save_button, false, false);
-       preset_box.pack_end (combo, false, false);
+       preset_box.pack_end (preset_combo, false, false);
 
        bypass_button.set_active (!insert->active());
        
@@ -57,6 +57,12 @@ VSTPluginUI::get_preferred_height ()
        return vst->fst()->height;
 }
 
+int
+VSTPluginUI::get_preferred_width ()
+{
+       return vst->fst()->width;
+}
+
 int
 VSTPluginUI::package (Gtk::Window& win)
 {