summaryrefslogtreecommitdiff
path: root/gtk2_ardour/shuttle_control.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2014-10-21 22:55:08 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2014-10-21 22:58:58 -0400
commitba4d1cd1c1d5e4b47e288cd83c81011e7399207b (patch)
treeca91dc6ddffb96acf6a274664f12cd310b701281 /gtk2_ardour/shuttle_control.cc
parent90df6f3fe625a95275a70c0ef0565cf062f8445d (diff)
remove "canvasvar_" from all functions related to obtaining values from ARDOUR_UI::config()
Diffstat (limited to 'gtk2_ardour/shuttle_control.cc')
-rw-r--r--gtk2_ardour/shuttle_control.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/shuttle_control.cc b/gtk2_ardour/shuttle_control.cc
index 6fdf934238..1da7a492f1 100644
--- a/gtk2_ardour/shuttle_control.cc
+++ b/gtk2_ardour/shuttle_control.cc
@@ -113,7 +113,7 @@ ShuttleControl::on_size_allocate (Gtk::Allocation& alloc)
//background
pattern = cairo_pattern_create_linear (0, 0, 0, alloc.get_height());
- uint32_t col = ARDOUR_UI::config()->get_canvasvar_Shuttle();
+ uint32_t col = ARDOUR_UI::config()->get_Shuttle();
int r,b,g,a;
UINT_TO_RGBA(col, &r, &g, &b, &a);
cairo_pattern_add_color_stop_rgb (pattern, 0.0, r/400.0, g/400.0, b/400.0);