summaryrefslogtreecommitdiff
path: root/libs/gtkmm2ext/barcontroller.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 /libs/gtkmm2ext/barcontroller.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 'libs/gtkmm2ext/barcontroller.cc')
-rw-r--r--libs/gtkmm2ext/barcontroller.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/gtkmm2ext/barcontroller.cc b/libs/gtkmm2ext/barcontroller.cc
index 5ac5821205..bb20cae922 100644
--- a/libs/gtkmm2ext/barcontroller.cc
+++ b/libs/gtkmm2ext/barcontroller.cc
@@ -39,7 +39,7 @@ using namespace Gtkmm2ext;
BarController::BarController (Gtk::Adjustment& adj,
boost::shared_ptr<PBD::Controllable> mc)
- : _slider (&adj, 60, 16)
+ : _slider (&adj, mc, 60, 16)
, _switching (false)
, _switch_on_release (false)
{