X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fvst_pluginui.cc;h=aba100a97ce26ba69d4d108f93696701634b523d;hb=9c89a93e4f96826bec6ed519f8f435e4fc73bfa5;hp=1320ccdc7a03ff3642f1565ef5bc875ed6794944;hpb=99904735e066804358f1d0bd138a84f1e9ecda91;p=ardour.git diff --git a/gtk2_ardour/vst_pluginui.cc b/gtk2_ardour/vst_pluginui.cc index 1320ccdc7a..aba100a97c 100644 --- a/gtk2_ardour/vst_pluginui.cc +++ b/gtk2_ardour/vst_pluginui.cc @@ -19,7 +19,7 @@ #include #include -#include +#include #include #include "plugin_ui.h" @@ -38,7 +38,7 @@ VSTPluginUI::VSTPluginUI (boost::shared_ptr 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) {