summaryrefslogtreecommitdiff
path: root/gtk2_ardour/patch_change.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2014-12-14 12:27:07 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2014-12-14 12:27:07 -0500
commit48a7a11974fb378483da9c4cce6e2af4d7060c5d (patch)
tree4c14576cdee385465bfbc798a5da4d94fe079219 /gtk2_ardour/patch_change.cc
parent0fa5643d20fd57ce7f878e3c5e51b768ec6b98a3 (diff)
initial pass to replace all UIConfiguration::get_XXXXXX() calls with UIConfiguration::color(name).
IMPORTANT: names have not been downcased and spaced yet, so many colors are not found
Diffstat (limited to 'gtk2_ardour/patch_change.cc')
-rw-r--r--gtk2_ardour/patch_change.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/patch_change.cc b/gtk2_ardour/patch_change.cc
index 18ef5da004..bdc4e71afe 100644
--- a/gtk2_ardour/patch_change.cc
+++ b/gtk2_ardour/patch_change.cc
@@ -58,8 +58,8 @@ PatchChange::PatchChange(
_flag = new ArdourCanvas::Flag (
parent,
height,
- ARDOUR_UI::config()->get_MidiPatchChangeOutline(),
- ARDOUR_UI::config()->get_MidiPatchChangeFill(),
+ ARDOUR_UI::config()->color ("MidiPatchChangeOutline"),
+ ARDOUR_UI::config()->color ("MidiPatchChangeFill"),
ArdourCanvas::Duple (x, y)
);