fix OSX compilation
[ardour.git] / gtk2_ardour / port_matrix_labels.cc
index 8b34b71ffbc3e886a648c66982a76c4861f833c0..e2fe306726b66240d4eeae4d61fb672f29c5a557 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2002-2009 Paul Davis 
+    Copyright (C) 2002-2009 Paul Davis
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -25,10 +25,10 @@ void
 PortMatrixLabels::draw_extra (cairo_t* cr)
 {
        for (std::vector<ARDOUR::BundleChannel>::const_iterator i = _channel_highlights.begin(); i != _channel_highlights.end(); ++i) {
-
                if (_matrix->show_only_bundles()) {
                        render_bundle_name (
                                cr,
+                               mouseover_line_colour(),
                                highlighted_channel_colour(),
                                component_to_parent_x (channel_x (*i)),
                                component_to_parent_y (channel_y (*i)),
@@ -37,6 +37,7 @@ PortMatrixLabels::draw_extra (cairo_t* cr)
                } else {
                        render_channel_name (
                                cr,
+                               mouseover_line_colour(),
                                highlighted_channel_colour(),
                                component_to_parent_x (channel_x (*i)),
                                component_to_parent_y (channel_y (*i)),
@@ -50,7 +51,6 @@ void
 PortMatrixLabels::clear_channel_highlights ()
 {
        for (std::vector<ARDOUR::BundleChannel>::const_iterator i = _channel_highlights.begin(); i != _channel_highlights.end(); ++i) {
-
                queue_draw_for (*i);
        }