From d23798276a2935629da0abbb53ad844c8d169a44 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 26 Jan 2021 23:37:28 +0100 Subject: [PATCH] Use CairoTheme API --- gtk2_ardour/shuttle_control.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/shuttle_control.cc b/gtk2_ardour/shuttle_control.cc index 9b70ad66f3..19254ba06e 100644 --- a/gtk2_ardour/shuttle_control.cc +++ b/gtk2_ardour/shuttle_control.cc @@ -623,7 +623,7 @@ ShuttleControl::render (Cairo::RefPtr const& ctx, cairo_rectangl cairo_set_source_rgba (cr, 0, 0, 0, 1); cairo_fill(cr); rounded_rectangle (cr, x + 1, 1, marker_size - 2, get_height() - 2, 3.5); - if (_flat_buttons) { + if (flat_buttons ()) { uint32_t col = UIConfiguration::instance().color ("shuttle"); Gtkmm2ext::set_source_rgba (cr, col); } else {