From fd0df3003ba7c0ae4d04a8314358db7f82dd2ab1 Mon Sep 17 00:00:00 2001 From: Felix Zhang 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