mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-18 12:46:32 +01:00
no need for ugly cast constructors, just add a second argument
This commit is contained in:
parent
79113144ef
commit
d369894dd5
1 changed files with 1 additions and 4 deletions
|
|
@ -79,10 +79,7 @@ PluginEqGui::PluginEqGui(boost::shared_ptr<ARDOUR::PluginInsert> pluginInsert)
|
||||||
// dB selection
|
// dB selection
|
||||||
dBScaleModel = Gtk::ListStore::create(dBColumns);
|
dBScaleModel = Gtk::ListStore::create(dBColumns);
|
||||||
|
|
||||||
/* this grotty-looking cast allows compilation against gtkmm 2.24.0, which
|
dBScaleCombo = new Gtk::ComboBox (dBScaleModel, false);
|
||||||
added a new ComboBox constructor.
|
|
||||||
*/
|
|
||||||
dBScaleCombo = new Gtk::ComboBox ((Glib::RefPtr<Gtk::TreeModel> &) dBScaleModel);
|
|
||||||
dBScaleCombo->set_title (_("dB scale"));
|
dBScaleCombo->set_title (_("dB scale"));
|
||||||
|
|
||||||
#define ADD_DB_ROW(MIN,MAX,STEP,NAME) \
|
#define ADD_DB_ROW(MIN,MAX,STEP,NAME) \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue