[gtk+] wayland: Reduce warning level for parentless temporaries



commit f42cd18779b7391c0d6f7e18a45638a697d33fce
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Jan 30 20:56:17 2016 -0500

    wayland: Reduce warning level for parentless temporaries
    
    Temp windows without parent are used frequently in our testsuite;
    using g_warning on them causes the tests to fail, which is not
    useful. Reduce the warning to a g_message.

 gdk/wayland/gdkwindow-wayland.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/wayland/gdkwindow-wayland.c b/gdk/wayland/gdkwindow-wayland.c
index 8e74ef4..db199ca 100644
--- a/gdk/wayland/gdkwindow-wayland.c
+++ b/gdk/wayland/gdkwindow-wayland.c
@@ -1288,7 +1288,7 @@ should_map_as_popup (GdkWindow *window)
             return TRUE;
         }
       else
-        g_warning ("Window %p is a temporary window without parent, "
+        g_message ("Window %p is a temporary window without parent, "
                    "application will not be able to position it on screen.",
                    window);
     }


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