[gnome-settings-daemon] color: Don't spam .xsession-errors if a profile cannot be loaded at startup
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] color: Don't spam .xsession-errors if a profile cannot be loaded at startup
- Date: Thu, 29 Mar 2012 16:34:45 +0000 (UTC)
commit b4abfdd634b6dae764859ddb8a0b3e357c9bb5ad
Author: Richard Hughes <richard hughsie com>
Date: Thu Mar 29 17:33:00 2012 +0100
color: Don't spam .xsession-errors if a profile cannot be loaded at startup
The usual reasons for this is random files are included in ~/.local/share/icc/
or that a file exists with a zero length.
plugins/color/gsd-color-manager.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/color/gsd-color-manager.c b/plugins/color/gsd-color-manager.c
index 28fbdae..2d3a0cd 100644
--- a/plugins/color/gsd-color-manager.c
+++ b/plugins/color/gsd-color-manager.c
@@ -2052,8 +2052,8 @@ gcm_session_profile_store_added_cb (GcmProfileStore *profile_store,
/* generate ID */
checksum = gcm_session_get_md5_for_filename (filename, &error);
if (checksum == NULL) {
- g_warning ("failed to get profile checksum: %s",
- error->message);
+ g_debug ("failed to get profile checksum for %s: %s",
+ filename, error->message);
g_error_free (error);
goto out;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]