diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-12-12 13:26:17 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-12-12 15:27:32 -0500 |
commit | e19e05fc5949a6e5326fc0a1b2e80014dff5f28c (patch) | |
tree | 593bab75ecb01dd6852381d04e31f3b33d2424cb | |
parent | cb13fe578f90abbaa135a37642eb9f9822dada54 (diff) |
hide a lot of color debugging noise
-rw-r--r-- | gtk2_ardour/ui_config.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gtk2_ardour/ui_config.cc b/gtk2_ardour/ui_config.cc index 22ac72d240..b09442a588 100644 --- a/gtk2_ardour/ui_config.cc +++ b/gtk2_ardour/ui_config.cc @@ -655,7 +655,12 @@ UIConfiguration::color (const std::string& name, bool* failed) const } } - cerr << string_compose (_("Color %1 not found"), name) << endl; + if (!failed) { + /* only show this message if the caller wasn't interested in + the fail status. + */ + cerr << string_compose (_("Color %1 not found"), name) << endl; + } if (failed) { *failed = true; |