[gnome-settings-daemon] xrandr: Remove extraneous linefeeds
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] xrandr: Remove extraneous linefeeds
- Date: Thu, 31 Jan 2013 19:42:28 +0000 (UTC)
commit 31c2ed8c9bd9b8256ffe6818c7581d5dec9b27db
Author: Bastien Nocera <hadess hadess net>
Date: Thu Jan 31 20:13:36 2013 +0100
xrandr: Remove extraneous linefeeds
From the switch to g_debug() in cbf3a7172cf58f768ee702f9af3ba75520fa60ea
plugins/xrandr/gsd-xrandr-manager.c | 22 +++++++++++-----------
1 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/plugins/xrandr/gsd-xrandr-manager.c b/plugins/xrandr/gsd-xrandr-manager.c
index 2fb6204..ed9fc25 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_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");
+ g_debug (" Output: %s attached to %s", gnome_rr_output_info_get_display_name (info), gnome_rr_output_info_get_name (info));
+ g_debug (" status: %s", gnome_rr_output_info_is_active (info) ? "on" : "off");
gnome_rr_output_info_get_geometry (info, &x, &y, &width, &height);
- 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);
+ g_debug (" width: %d", width);
+ g_debug (" height: %d", height);
+ g_debug (" rate: %d", gnome_rr_output_info_get_refresh_rate (info));
+ g_debug (" primary: %s", gnome_rr_output_info_get_primary (info) ? "true" : "false");
+ g_debug (" position: %d %d", x, y);
}
static void
@@ -354,13 +354,13 @@ print_configuration (GnomeRRConfig *config, const char *header)
int i;
GnomeRROutputInfo **outputs;
- g_debug ("=== %s Configuration ===\n", header);
+ g_debug ("=== %s Configuration ===", header);
if (!config) {
- g_debug (" none\n");
+ g_debug (" none");
return;
}
- g_debug (" Clone: %s\n", gnome_rr_config_get_clone (config) ? "true" : "false");
+ g_debug (" Clone: %s", gnome_rr_config_get_clone (config) ? "true" : "false");
outputs = gnome_rr_config_get_outputs (config);
for (i = 0; outputs[i] != NULL; ++i)
@@ -1728,7 +1728,7 @@ auto_configure_outputs (GsdXrandrManager *manager, guint32 timestamp)
{
GnomeRRConfig *config;
- g_debug ("xrandr auto-configure\n");
+ g_debug ("xrandr auto-configure");
config = make_default_setup (manager);
if (config) {
apply_configuration (manager, config, timestamp, TRUE, FALSE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]