From 601c317d70a03190257577bd867cefc2c70d3275 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 17 Jul 2017 18:34:35 +0200 Subject: Clean up library inheritance (colors.h, utils.h) make libwidget independent of libcanvas. Confine basics to pbd and gtkmm2ext. --- gtk2_ardour/note_base.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk2_ardour/note_base.cc') diff --git a/gtk2_ardour/note_base.cc b/gtk2_ardour/note_base.cc index 5142586715..283910d1c8 100644 --- a/gtk2_ardour/note_base.cc +++ b/gtk2_ardour/note_base.cc @@ -142,7 +142,7 @@ NoteBase::on_channel_selection_change(uint16_t selection) { // make note change its color if its channel is not marked active if ( (selection & (1 << _note->channel())) == 0 ) { - const ArdourCanvas::Color inactive_ch = UIConfiguration::instance().color ("midi note inactive channel"); + const Gtkmm2ext::Color inactive_ch = UIConfiguration::instance().color ("midi note inactive channel"); set_fill_color(inactive_ch); set_outline_color(calculate_outline(inactive_ch, _selected)); } else { -- cgit v1.2.3