X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Faudio_time_axis.cc;h=8c022abdb74e66cc2cd1f1259a61e7767cca1944;hb=e5e12acc5698090f2c0c614385e457cc0b46fbb0;hp=e59c43fc8492e22e33d0f7373dab6c13d2a21e28;hpb=f4b5f4c72ee60b6f509e307c5bfd164108d1f30b;p=ardour.git diff --git a/gtk2_ardour/audio_time_axis.cc b/gtk2_ardour/audio_time_axis.cc index e59c43fc84..8c022abdb7 100644 --- a/gtk2_ardour/audio_time_axis.cc +++ b/gtk2_ardour/audio_time_axis.cc @@ -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 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());