[gtk+] wayland: change wl_log level to G_LOG_LEVEL_DEBUG



commit f4d2022d46e16e1fdec8ca9b107a9870155832bf
Author: Ray Strode <rstrode redhat com>
Date:   Fri Aug 14 11:03:43 2015 -0400

    wayland: change wl_log level to G_LOG_LEVEL_DEBUG
    
    wl_log() currently logs using G_LOG_LEVEL_ERROR
    (which is fatal). The wayland client library doesn't
    expect this behavior. It uses wl_log to log recoverable
    errors.
    
    This commit changes the log level to G_LOG_LEVEL_DEBUG
    instead.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=753635

 gdk/wayland/gdkdisplay-wayland.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/wayland/gdkdisplay-wayland.c b/gdk/wayland/gdkdisplay-wayland.c
index b2fad08..7b8b0ee 100644
--- a/gdk/wayland/gdkdisplay-wayland.c
+++ b/gdk/wayland/gdkdisplay-wayland.c
@@ -398,7 +398,7 @@ static const struct wl_registry_listener registry_listener = {
 static void
 log_handler (const char *format, va_list args)
 {
-  g_logv (G_LOG_DOMAIN, G_LOG_LEVEL_ERROR, format, args);
+  g_logv (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, format, args);
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]