git-svn-id: svn://localhost/ardour2/branches/3.0@9319 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
58bd627666
commit
574ef8d61b
@ -73,7 +73,10 @@ PluginEqGui::PluginEqGui(boost::shared_ptr<ARDOUR::PluginInsert> pluginInsert)
|
||||
// dB selection
|
||||
dBScaleModel = Gtk::ListStore::create(dBColumns);
|
||||
|
||||
dBScaleCombo = new Gtk::ComboBox(dBScaleModel);
|
||||
/* 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->set_title (_("dB scale"));
|
||||
|
||||
#define ADD_DB_ROW(MIN,MAX,STEP,NAME) \
|
||||
|
Loading…
Reference in New Issue
Block a user