summaryrefslogtreecommitdiff
path: root/gtk2_ardour/region_view.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/region_view.cc')
-rw-r--r--gtk2_ardour/region_view.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/region_view.cc b/gtk2_ardour/region_view.cc
index b562076884..d418833471 100644
--- a/gtk2_ardour/region_view.cc
+++ b/gtk2_ardour/region_view.cc
@@ -235,7 +235,7 @@ RegionView::set_silent_frames (const AudioIntervalResult& silences, double /*thr
return;
}
- uint32_t const color = ARDOUR_UI::config()->get_Silence();
+ uint32_t const color = ARDOUR_UI::config()->color ("Silence");
for (AudioIntervalResult::const_iterator i = silences.begin(); i != silences.end(); ++i) {
@@ -276,7 +276,7 @@ RegionView::set_silent_frames (const AudioIntervalResult& silences, double /*thr
_silence_text = new ArdourCanvas::Text (group);
_silence_text->set_ignore_events (true);
_silence_text->set_font_description (get_font_for_style (N_("SilenceText")));
- _silence_text->set_color (ARDOUR_UI::config()->get_SilenceText());
+ _silence_text->set_color (ARDOUR_UI::config()->color ("SilenceText"));
/* both positions are relative to the region start offset in source */
@@ -783,7 +783,7 @@ RegionView::update_coverage_frames (LayerDisplay d)
bool me = false;
/* the color that will be used to show parts of regions that will not be heard */
- uint32_t const non_playing_color = ARDOUR_UI::config()->get_CoveredRegion ();
+ uint32_t const non_playing_color = ARDOUR_UI::config()->color ("CoveredRegion");
while (t < end) {