fix vst plugin UI to work with recent changes
[ardour.git] / gtk2_ardour / vst_pluginui.cc
index 1320ccdc7a03ff3642f1565ef5bc875ed6794944..6fee84712347986b1516ea217cafb2b66cf8a088 100644 (file)
@@ -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)
 {