forked from pool/gnome-settings-daemon
Dominique Leuenberger
8748e8fe2a
- Update SLE patches: + gnome-settings-daemon-bnc873545-hide-warnings.patch + gnome-settings-daemon-bring-back-updates-plugin.patch + gnome-settings-daemon-revert-libinput-mandatory.patch - Cleanup specfile. OBS-URL: https://build.opensuse.org/request/show/510030 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-settings-daemon?expand=0&rev=287
42 lines
1.4 KiB
Diff
42 lines
1.4 KiB
Diff
From fd0df3003ba7c0ae4d04a8314358db7f82dd2ab1 Mon Sep 17 00:00:00 2001
|
|
From: Felix Zhang <fezhang@suse.com>
|
|
Date: Tue, 6 May 2014 16:13:04 +0800
|
|
Subject: [PATCH] hide warnings
|
|
|
|
---
|
|
plugins/color/gsd-color-profiles.c | 2 ++
|
|
plugins/color/gsd-color-state.c | 2 ++
|
|
2 files changed, 4 insertions(+)
|
|
|
|
diff --git a/plugins/color/gsd-color-profiles.c b/plugins/color/gsd-color-profiles.c
|
|
index 2b01faa..05a728a 100644
|
|
--- a/plugins/color/gsd-color-profiles.c
|
|
+++ b/plugins/color/gsd-color-profiles.c
|
|
@@ -73,7 +73,9 @@ gcm_session_client_connect_cb (GObject *source_object,
|
|
profiles = GSD_COLOR_PROFILES (user_data);
|
|
ret = cd_client_get_has_server (profiles->priv->client);
|
|
if (!ret) {
|
|
+ /* hide this warning for SLES
|
|
g_warning ("There is no colord server available");
|
|
+ */
|
|
return;
|
|
}
|
|
|
|
diff --git a/plugins/color/gsd-color-state.c b/plugins/color/gsd-color-state.c
|
|
index 04823e4..20e8a2b 100644
|
|
--- a/plugins/color/gsd-color-state.c
|
|
+++ b/plugins/color/gsd-color-state.c
|
|
@@ -1297,7 +1297,9 @@ gcm_session_client_connect_cb (GObject *source_object,
|
|
/* is there an available colord instance? */
|
|
ret = cd_client_get_has_server (state->priv->client);
|
|
if (!ret) {
|
|
+ /* hide this warning for SLES
|
|
g_warning ("There is no colord server available");
|
|
+ */
|
|
return;
|
|
}
|
|
|
|
--
|
|
1.7.12.4
|
|
|