[gnome-settings-daemon] media-keys: Fix test case's indentation
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] media-keys: Fix test case's indentation
- Date: Tue, 17 Apr 2012 13:31:23 +0000 (UTC)
commit 738d95cf9ecde110b338bd4fb7612f9d60ee3d10
Author: Bastien Nocera <hadess hadess net>
Date: Mon Apr 16 19:09:08 2012 +0100
media-keys: Fix test case's indentation
plugins/media-keys/test-media-window.c | 46 ++++++++++++++------------------
1 files changed, 20 insertions(+), 26 deletions(-)
---
diff --git a/plugins/media-keys/test-media-window.c b/plugins/media-keys/test-media-window.c
index a1a8787..1fbd273 100644
--- a/plugins/media-keys/test-media-window.c
+++ b/plugins/media-keys/test-media-window.c
@@ -38,65 +38,60 @@ update_state (GtkWidget *window)
switch (count) {
case 1:
- gsd_osd_window_set_volume_level (GSD_OSD_WINDOW (window),
- 50);
+ gsd_osd_window_set_volume_level (GSD_OSD_WINDOW (window), 50);
gsd_osd_window_set_action (GSD_OSD_WINDOW (window),
- GSD_OSD_WINDOW_ACTION_VOLUME);
+ GSD_OSD_WINDOW_ACTION_VOLUME);
gtk_widget_show (window);
break;
case 2:
- gsd_osd_window_set_volume_level (GSD_OSD_WINDOW (window),
- 100);
+ gsd_osd_window_set_volume_level (GSD_OSD_WINDOW (window), 100);
gsd_osd_window_set_action (GSD_OSD_WINDOW (window),
- GSD_OSD_WINDOW_ACTION_VOLUME);
+ GSD_OSD_WINDOW_ACTION_VOLUME);
gtk_widget_show (window);
break;
case 3:
- gsd_osd_window_set_volume_muted (GSD_OSD_WINDOW (window),
- TRUE);
+ gsd_osd_window_set_volume_muted (GSD_OSD_WINDOW (window), TRUE);
gsd_osd_window_set_action (GSD_OSD_WINDOW (window),
- GSD_OSD_WINDOW_ACTION_VOLUME);
+ GSD_OSD_WINDOW_ACTION_VOLUME);
gtk_widget_show (window);
break;
case 4:
gsd_osd_window_set_action_custom (GSD_OSD_WINDOW (window),
- "media-eject-symbolic",
- FALSE);
+ "media-eject-symbolic",
+ FALSE);
gtk_widget_show (window);
break;
case 5:
- gsd_osd_window_set_volume_level (GSD_OSD_WINDOW (window),
- 50);
+ gsd_osd_window_set_volume_level (GSD_OSD_WINDOW (window), 50);
gsd_osd_window_set_action_custom (GSD_OSD_WINDOW (window),
- "display-brightness-symbolic",
- TRUE);
+ "display-brightness-symbolic",
+ TRUE);
gtk_widget_show (window);
break;
case 6:
- gsd_osd_window_set_volume_level (GSD_OSD_WINDOW (window),
- 50);
+ gsd_osd_window_set_volume_level (GSD_OSD_WINDOW (window), 50);
gsd_osd_window_set_action_custom (GSD_OSD_WINDOW (window),
- "keyboard-brightness-symbolic",
- TRUE);
+ "keyboard-brightness-symbolic",
+ TRUE);
gtk_widget_show (window);
break;
case 7:
gsd_osd_window_set_action_custom (GSD_OSD_WINDOW (window),
- "touchpad-disabled-symbolic",
- TRUE);
+ "touchpad-disabled-symbolic",
+ TRUE);
gtk_widget_show (window);
break;
case 8:
gsd_osd_window_set_action_custom (GSD_OSD_WINDOW (window),
- "input-touchpad-symbolic",
- TRUE);
+ "input-touchpad-symbolic",
+ TRUE);
gtk_widget_show (window);
break;
@@ -116,10 +111,9 @@ test_window (void)
window = gsd_osd_window_new ();
gtk_window_set_position (GTK_WINDOW (window), GTK_WIN_POS_CENTER_ALWAYS);
- gsd_osd_window_set_volume_level (GSD_OSD_WINDOW (window),
- 0);
+ gsd_osd_window_set_volume_level (GSD_OSD_WINDOW (window), 0);
gsd_osd_window_set_action (GSD_OSD_WINDOW (window),
- GSD_OSD_WINDOW_ACTION_VOLUME);
+ GSD_OSD_WINDOW_ACTION_VOLUME);
gtk_widget_show (window);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]