Blame SOURCES/0002-spice-Replace-g_warning-with-g_debug.patch

48c875
From e588d6f011b9fb327e5f8d6ae9a19b710039417a Mon Sep 17 00:00:00 2001
48c875
From: Snir Sheriber <ssheribe@redhat.com>
48c875
Date: Sun, 1 Jan 2017 14:23:25 +0200
48c875
Subject: [PATCH 02/26] spice: Replace g_warning with g_debug
48c875
MIME-Version: 1.0
48c875
Content-Type: text/plain; charset=UTF-8
48c875
Content-Transfer-Encoding: 8bit
48c875
48c875
Instead of having a warning message telling the user that they can't
48c875
have more displays enabled in fullscreen than the number of physical
48c875
displays, let's just have it as a debug message.
48c875
48c875
Related: rhbz#1368390
48c875
48c875
Acked-by: Fabiano FidĂȘncio <fabiano@fidencio.org>
48c875
---
48c875
 src/virt-viewer-session-spice.c | 4 ++--
48c875
 1 file changed, 2 insertions(+), 2 deletions(-)
48c875
48c875
diff --git a/src/virt-viewer-session-spice.c b/src/virt-viewer-session-spice.c
48c875
index c24f94d..c3fce48 100644
48c875
--- a/src/virt-viewer-session-spice.c
48c875
+++ b/src/virt-viewer-session-spice.c
48c875
@@ -914,8 +914,8 @@ virt_viewer_session_spice_display_monitors(SpiceChannel *channel,
48c875
 
48c875
         if (!disabled && fullscreen_mode && self->priv->did_auto_conf &&
48c875
             !display_is_in_fullscreen_mode(self, VIRT_VIEWER_DISPLAY(display))) {
48c875
-            g_warning("display %d should not be enabled, disabling",
48c875
-                      virt_viewer_display_get_nth(VIRT_VIEWER_DISPLAY(display)) + 1);
48c875
+            g_debug("display %d should not be enabled, disabling",
48c875
+                    virt_viewer_display_get_nth(VIRT_VIEWER_DISPLAY(display)) + 1);
48c875
             spice_main_set_display_enabled(virt_viewer_session_spice_get_main_channel(self),
48c875
                                            virt_viewer_display_get_nth(VIRT_VIEWER_DISPLAY(display)),
48c875
                                            FALSE);
48c875
-- 
48c875
2.12.0
48c875