summaryrefslogtreecommitdiff
path: root/libs/gtkmm2ext/slider_controller.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/gtkmm2ext/slider_controller.cc')
-rw-r--r--libs/gtkmm2ext/slider_controller.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/gtkmm2ext/slider_controller.cc b/libs/gtkmm2ext/slider_controller.cc
index 3e2b42f409..93dfb27ae2 100644
--- a/libs/gtkmm2ext/slider_controller.cc
+++ b/libs/gtkmm2ext/slider_controller.cc
@@ -29,11 +29,11 @@ using namespace Gtkmm2ext;
using namespace PBD;
SliderController::SliderController (Glib::RefPtr<Gdk::Pixbuf> image,
- Gtk::Adjustment *adj,
+ Gtk::Adjustment *adj, int orientation,
Controllable& c,
bool with_numeric)
- : PixFader (image, *adj),
+ : PixFader (image, *adj, orientation),
binding_proxy (c),
spin (*adj, 0, 2)
{
@@ -63,7 +63,7 @@ VSliderController::VSliderController (Glib::RefPtr<Gdk::Pixbuf> image,
Controllable& control,
bool with_numeric)
- : SliderController (image, adj, control, with_numeric)
+ : SliderController (image, adj, VERT, control, with_numeric)
{
if (with_numeric) {
spin_frame.add (spin);
@@ -79,7 +79,7 @@ HSliderController::HSliderController (Glib::RefPtr<Gdk::Pixbuf> image,
Controllable& control,
bool with_numeric)
- : SliderController (image, adj, control, with_numeric)
+ : SliderController (image, adj, HORIZ, control, with_numeric)
{
if (with_numeric) {
spin_frame.add (spin);