summaryrefslogtreecommitdiff
path: root/gtk2_ardour/gain_meter.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2014-11-01 18:22:29 +0100
committerRobin Gareus <robin@gareus.org>2014-11-01 18:22:29 +0100
commit049c11de58704790bc652dcb9acfb207af4a8ebe (patch)
treebb24d2073168065b50c80e42795d504abcfa586e /gtk2_ardour/gain_meter.cc
parent45b7a03b7bfa5892a5d9d16bf684fee332f2b323 (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/gain_meter.cc')
-rw-r--r--gtk2_ardour/gain_meter.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/gain_meter.cc b/gtk2_ardour/gain_meter.cc
index 00c64d02f6..daba2e77d4 100644
--- a/gtk2_ardour/gain_meter.cc
+++ b/gtk2_ardour/gain_meter.cc
@@ -98,9 +98,9 @@ GainMeterBase::GainMeterBase (Session* s, bool horizontal, int fader_length, int
_width = Wide;
if (horizontal) {
- gain_slider = manage (new HSliderController (&gain_adjustment, fader_length, fader_girth));
+ gain_slider = manage (new HSliderController (&gain_adjustment, boost::shared_ptr<PBD::Controllable>(), fader_length, fader_girth));
} else {
- gain_slider = manage (new VSliderController (&gain_adjustment, fader_length, fader_girth));
+ gain_slider = manage (new VSliderController (&gain_adjustment, boost::shared_ptr<PBD::Controllable>(), fader_length, fader_girth));
}
level_meter = new LevelMeterHBox(_session);