summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2020-03-14 13:03:22 +0100
committerraveit65 <[email protected]>2020-03-31 11:27:16 +0200
commit17989420739e7c0faeb5811efaa92c99c0bbe6a6 (patch)
treef65ad19c80f5792ed349403df542b409c8c354f3 /src
parentc615e430f8041c0284c4b3596c1201a9edba4a79 (diff)
downloadmate-power-manager-17989420739e7c0faeb5811efaa92c99c0bbe6a6.tar.bz2
mate-power-manager-17989420739e7c0faeb5811efaa92c99c0bbe6a6.tar.xz
gpm-brightness: silent "using cache for value" message unless debug
Diffstat (limited to 'src')
-rw-r--r--src/gpm-brightness.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpm-brightness.c b/src/gpm-brightness.c
index 5a3853e..1ef8da4 100644
--- a/src/gpm-brightness.c
+++ b/src/gpm-brightness.c
@@ -561,7 +561,7 @@ gpm_brightness_trust_cache (GpmBrightness *brightness)
* if we have multiple things setting policy on the workstation, e.g. fast user switching
* or kpowersave, then this will be invalid -- this logic may be insane */
if (GPM_SOLE_SETTER_USE_CACHE && brightness->priv->cache_trusted) {
- g_warning ("using cache for value %u (probably okay)", brightness->priv->cache_percentage);
+ g_debug ("using cache for value %u (probably okay)", brightness->priv->cache_percentage);
return TRUE;
}
return FALSE;