Merge branch 'ripple-mode-cc' into cairocanvas
[ardour.git] / gtk2_ardour / audio_time_axis.cc
index e59c43fc8492e22e33d0f7373dab6c13d2a21e28..8c022abdb74e66cc2cd1f1259a61e7767cca1944 100644 (file)
@@ -60,6 +60,7 @@
 
 using namespace std;
 using namespace ARDOUR;
+using namespace ARDOUR_UI_UTILS;
 using namespace PBD;
 using namespace Gtk;
 using namespace Editing;
@@ -83,7 +84,7 @@ AudioTimeAxisView::set_route (boost::shared_ptr<Route> rt)
 
        RouteTimeAxisView::set_route (rt);
 
-       _view->apply_color (color (), StreamView::RegionColor);
+       _view->apply_color (gdk_color_to_rgba (color()), StreamView::RegionColor);
 
        // Make sure things are sane...
        assert(!is_track() || is_audio_track());