2016-03-21 18:12:59 +01:00
|
|
|
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
|
2016-08-12 11:42:58 +02:00
|
|
|
@@ -73,7 +73,9 @@ gcm_session_client_connect_cb (GObject *source_object,
|
|
|
|
profiles = GSD_COLOR_PROFILES (user_data);
|
2016-03-21 18:12:59 +01:00
|
|
|
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");
|
|
|
|
+ */
|
2017-07-13 10:57:22 +02:00
|
|
|
return;
|
2016-03-21 18:12:59 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
--
|
|
|
|
1.7.12.4
|
|
|
|
|