[virt-tools-list] [PATCH virt-viewer 2/4] Use DEBUG_LOG macro

Marc-André Lureau marcandre.lureau at gmail.com
Tue Jun 10 12:18:09 UTC 2014


From: Marc-André Lureau <marcandre.lureau at redhat.com>

On RHEL6, g_debug() is not silent by default

https://bugzilla.redhat.com/show_bug.cgi?id=1107518
---
 src/virt-viewer-app.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/virt-viewer-app.c b/src/virt-viewer-app.c
index 1633c25..b952faf 100644
--- a/src/virt-viewer-app.c
+++ b/src/virt-viewer-app.c
@@ -843,7 +843,7 @@ virt_viewer_app_display_added(VirtViewerSession *session G_GNUC_UNUSED,
     if (window == NULL) {
         if (priv->kiosk) {
             /* don't show extra monitors that don't fit on client */
-            g_debug("kiosk mode: skip extra monitors that don't fit on client");
+            DEBUG_LOG("kiosk mode: skip extra monitors that don't fit on client");
             g_object_unref(display);
             return;
         }
-- 
1.9.3




More information about the virt-tools-list mailing list