test workaround for OSX IK-Multimedia Plugin GUIs.
[ardour.git] / gtk2_ardour / editor_group_tabs.cc
index aa58ed2f129ef81482c97adaf3b3fd08c4bd7ec5..48fe9e231dae1eec498e2b9990da9d23c7445a80 100644 (file)
 
 #include "canvas/colors.h"
 
-#include "ardour_ui.h"
 #include "editor.h"
 #include "editor_group_tabs.h"
 #include "editor_route_groups.h"
 #include "editor_routes.h"
 #include "rgb_macros.h"
 #include "route_time_axis.h"
+#include "ui_config.h"
 #include "utils.h"
 
 #include "i18n.h"
@@ -91,11 +91,11 @@ EditorGroupTabs::draw_tab (cairo_t* cr, Tab const & tab) const
 {
        double const arc_radius = get_width();
        double r, g, b, a;
-       
+
        if (tab.group && tab.group->is_active()) {
                ArdourCanvas::color_to_rgba (tab.color, r, g, b, a);
        } else {
-               ArdourCanvas::color_to_rgba (ARDOUR_UI::config()->color ("inactive group tab"), r, g, b, a);
+               ArdourCanvas::color_to_rgba (UIConfiguration::instance().color ("inactive group tab"), r, g, b, a);
        }
 
        a = 1.0;