summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSergey V. Udaltsov <svu@src.gnome.org>2008-09-13 00:28:51 +0000
committerSergey V. Udaltsov <svu@src.gnome.org>2008-09-13 00:28:51 +0000
commit821bc3568cda172c332d05caa2dff2c0cc67d59e (patch)
tree1a4fcfba7b7b98d6b0448dca95828f1f77785e37 /test
parenta53905454e56a1a7418457c03aa7ffd401b0bb48 (diff)
downloadlibgnomekbd-821bc3568cda172c332d05caa2dff2c0cc67d59e.tar.gz
fixed indentation
svn path=/trunk/; revision=325
Diffstat (limited to 'test')
-rw-r--r--test/gkbd-keyboard-drawing-test.c59
1 files changed, 30 insertions, 29 deletions
diff --git a/test/gkbd-keyboard-drawing-test.c b/test/gkbd-keyboard-drawing-test.c
index 47b6efa..4e89310 100644
--- a/test/gkbd-keyboard-drawing-test.c
+++ b/test/gkbd-keyboard-drawing-test.c
@@ -39,34 +39,35 @@ static gboolean track_modifiers = FALSE;
static gboolean program_version = FALSE;
static const GOptionEntry options[] = {
- { "groups", '\0', 0, G_OPTION_ARG_STRING, &groups,
- "Keyboard groups to display, from 1-4. Up to four groups only may be "
- "displayed. Examples: --groups=3 or --groups=1,2,1,2",
- "group1[,group2[,group3[,group4]]]" },
- { "levels", '\0', 0, G_OPTION_ARG_STRING, &levels,
- "Keyboard shift levels to display, from 1-64. Up to four shift levels "
- "only may be displayed. Examples: --levels=3 or --levels=1,2,1,2",
- "level1[,level2[,level3[,level4]]]" },
- { "symbols", '\0', 0, G_OPTION_ARG_STRING, &symbols,
- "Symbols component of the keyboard. If you omit this option, it is "
- "obtained from the X server; that is, the keyboard that is currently "
- "configured is drawn. Examples: --symbols=us or "
- "--symbols=us(pc104)+iso9995-3+group(switch)+ctrl(nocaps)", NULL },
- { "keycodes", '\0', 0, G_OPTION_ARG_STRING, &keycodes,
- "Keycodes component of the keyboard. If you omit this option, it is "
- "obtained from the X server; that is, the keyboard that is currently"
- " configured is drawn. Examples: --keycodes=xfree86+aliases(qwerty)", NULL },
- { "geometry", '\0', 0, G_OPTION_ARG_STRING, &geometry,
- "Geometry xkb component. If you omit this option, it is obtained from the"
- " X server; that is, the keyboard that is currently configured is drawn. "
- "Example: --geometry=kinesis", NULL },
- { "track-modifiers", '\0', 0, G_OPTION_ARG_NONE, &track_modifiers,
- "Track the current modifiers", NULL },
- { "track-config", '\0', 0, G_OPTION_ARG_NONE, &track_config,
- "Track the server XKB configuration", NULL },
- { "version", '\0', 0, G_OPTION_ARG_NONE, &program_version,
- "Show current version", NULL },
- { NULL },
+ {"groups", '\0', 0, G_OPTION_ARG_STRING, &groups,
+ "Keyboard groups to display, from 1-4. Up to four groups only may be "
+ "displayed. Examples: --groups=3 or --groups=1,2,1,2",
+ "group1[,group2[,group3[,group4]]]"},
+ {"levels", '\0', 0, G_OPTION_ARG_STRING, &levels,
+ "Keyboard shift levels to display, from 1-64. Up to four shift levels "
+ "only may be displayed. Examples: --levels=3 or --levels=1,2,1,2",
+ "level1[,level2[,level3[,level4]]]"},
+ {"symbols", '\0', 0, G_OPTION_ARG_STRING, &symbols,
+ "Symbols component of the keyboard. If you omit this option, it is "
+ "obtained from the X server; that is, the keyboard that is currently "
+ "configured is drawn. Examples: --symbols=us or "
+ "--symbols=us(pc104)+iso9995-3+group(switch)+ctrl(nocaps)", NULL},
+ {"keycodes", '\0', 0, G_OPTION_ARG_STRING, &keycodes,
+ "Keycodes component of the keyboard. If you omit this option, it is "
+ "obtained from the X server; that is, the keyboard that is currently"
+ " configured is drawn. Examples: --keycodes=xfree86+aliases(qwerty)",
+ NULL},
+ {"geometry", '\0', 0, G_OPTION_ARG_STRING, &geometry,
+ "Geometry xkb component. If you omit this option, it is obtained from the"
+ " X server; that is, the keyboard that is currently configured is drawn. "
+ "Example: --geometry=kinesis", NULL},
+ {"track-modifiers", '\0', 0, G_OPTION_ARG_NONE, &track_modifiers,
+ "Track the current modifiers", NULL},
+ {"track-config", '\0', 0, G_OPTION_ARG_NONE, &track_config,
+ "Track the server XKB configuration", NULL},
+ {"version", '\0', 0, G_OPTION_ARG_NONE, &program_version,
+ "Show current version", NULL},
+ {NULL},
};
static gboolean
@@ -177,7 +178,7 @@ main (gint argc, gchar ** argv)
g_option_context_free (context);
if (program_version) {
- g_print("kbdraw %s\n", VERSION);
+ g_print ("kbdraw %s\n", VERSION);
exit (0);
}