[gnome-settings-daemon] xrandr: Remove verbose debug by default



commit cbf3a7172cf58f768ee702f9af3ba75520fa60ea
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Jan 15 16:15:17 2013 +0100

    xrandr: Remove verbose debug by default
    
    https://bugzilla.gnome.org/show_bug.cgi?id=691788

 plugins/xrandr/gsd-xrandr-manager.c |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/plugins/xrandr/gsd-xrandr-manager.c b/plugins/xrandr/gsd-xrandr-manager.c
index 69fed77..ce552a7 100644
--- a/plugins/xrandr/gsd-xrandr-manager.c
+++ b/plugins/xrandr/gsd-xrandr-manager.c
@@ -337,15 +337,15 @@ print_output (GnomeRROutputInfo *info)
 {
         int x, y, width, height;
 
-        g_print ("  Output: %s attached to %s\n", gnome_rr_output_info_get_display_name (info), gnome_rr_output_info_get_name (info));
-        g_print ("     status: %s\n", gnome_rr_output_info_is_active (info) ? "on" : "off");
+        g_debug ("  Output: %s attached to %s\n", gnome_rr_output_info_get_display_name (info), gnome_rr_output_info_get_name (info));
+        g_debug ("     status: %s\n", gnome_rr_output_info_is_active (info) ? "on" : "off");
 
         gnome_rr_output_info_get_geometry (info, &x, &y, &width, &height);
-        g_print ("     width: %d\n", width);
-        g_print ("     height: %d\n", height);
-        g_print ("     rate: %d\n", gnome_rr_output_info_get_refresh_rate (info));
-        g_print ("     primary: %s\n", gnome_rr_output_info_get_primary (info) ? "true" : "false");
-        g_print ("     position: %d %d\n", x, y);
+        g_debug ("     width: %d\n", width);
+        g_debug ("     height: %d\n", height);
+        g_debug ("     rate: %d\n", gnome_rr_output_info_get_refresh_rate (info));
+        g_debug ("     primary: %s\n", gnome_rr_output_info_get_primary (info) ? "true" : "false");
+        g_debug ("     position: %d %d\n", x, y);
 }
 
 static void
@@ -354,13 +354,13 @@ print_configuration (GnomeRRConfig *config, const char *header)
         int i;
         GnomeRROutputInfo **outputs;
 
-        g_print ("=== %s Configuration ===\n", header);
+        g_debug ("=== %s Configuration ===\n", header);
         if (!config) {
-                g_print ("  none\n");
+                g_debug ("  none\n");
                 return;
         }
 
-        g_print ("  Clone: %s\n", gnome_rr_config_get_clone (config) ? "true" : "false");
+        g_debug ("  Clone: %s\n", gnome_rr_config_get_clone (config) ? "true" : "false");
 
         outputs = gnome_rr_config_get_outputs (config);
         for (i = 0; outputs[i] != NULL; ++i)



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