OSC: Changed gainVCA to gainfader as VCA is already used.
[ardour.git] / gtk2_ardour / plugin_eq_gui.cc
index 35ba31eeb269a1224a65877593306a0cc7f7bb95..1fa5d2d598e6250216233baf5b937ebf7833cd52 100644 (file)
@@ -79,10 +79,7 @@ PluginEqGui::PluginEqGui(boost::shared_ptr<ARDOUR::PluginInsert> pluginInsert)
        // dB selection
        dBScaleModel = Gtk::ListStore::create(dBColumns);
 
-       /* this grotty-looking cast allows compilation against gtkmm 2.24.0, which
-          added a new ComboBox constructor.
-       */
-       dBScaleCombo = new Gtk::ComboBox ((Glib::RefPtr<Gtk::TreeModel> &) dBScaleModel);
+       dBScaleCombo = new Gtk::ComboBox (dBScaleModel, false);
        dBScaleCombo->set_title (_("dB scale"));
 
 #define ADD_DB_ROW(MIN,MAX,STEP,NAME) \
@@ -330,7 +327,7 @@ PluginEqGui::run_impulse_analysis()
 {
        /* Allocate some thread-local buffers so that Plugin::connect_and_run can use them */
        ARDOUR_UI::instance()->get_process_buffers ();
-       
+
        uint32_t inputs  = _plugin->get_info()->n_inputs.n_audio();
        uint32_t outputs = _plugin->get_info()->n_outputs.n_audio();