projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7911314
)
no need for ugly cast constructors, just add a second argument
author
Paul Davis
<paul@linuxaudiosystems.com>
Mon, 12 Oct 2015 17:34:00 +0000
(13:34 -0400)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Mon, 12 Oct 2015 17:34:00 +0000
(13:34 -0400)
gtk2_ardour/plugin_eq_gui.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/plugin_eq_gui.cc
b/gtk2_ardour/plugin_eq_gui.cc
index 3115f54c414e9f336ef6642252f19850008168ff..1fa5d2d598e6250216233baf5b937ebf7833cd52 100644
(file)
--- a/
gtk2_ardour/plugin_eq_gui.cc
+++ b/
gtk2_ardour/plugin_eq_gui.cc
@@
-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) \