diff options
author | Robin Gareus <robin@gareus.org> | 2014-11-01 18:22:29 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2014-11-01 18:22:29 +0100 |
commit | 049c11de58704790bc652dcb9acfb207af4a8ebe (patch) | |
tree | bb24d2073168065b50c80e42795d504abcfa586e /gtk2_ardour/option_editor.cc | |
parent | 45b7a03b7bfa5892a5d9d16bf684fee332f2b323 (diff) |
Slider Controller API Change
Prepare to allow BarController (with Spinbutton) to translate
internal/interface values for the SpinBox.
(The change is irrelevant for the fader/slider itself which
always use the [user-]interface value)
Diffstat (limited to 'gtk2_ardour/option_editor.cc')
-rw-r--r-- | gtk2_ardour/option_editor.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/option_editor.cc b/gtk2_ardour/option_editor.cc index ef09b22898..137d6b98c8 100644 --- a/gtk2_ardour/option_editor.cc +++ b/gtk2_ardour/option_editor.cc @@ -267,7 +267,7 @@ FaderOption::FaderOption (string const & i, string const & n, sigc::slot<gain_t> , _get (g) , _set (s) { - _db_slider = manage (new HSliderController (&_db_adjustment, 115, 18)); + _db_slider = manage (new HSliderController (&_db_adjustment, boost::shared_ptr<PBD::Controllable>(), 115, 18)); _label.set_text (n + ":"); _label.set_alignment (0, 0.5); |