summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSergey V. Udaltsov <svu@src.gnome.org>2006-11-14 00:09:00 +0000
committerSergey V. Udaltsov <svu@src.gnome.org>2006-11-14 00:09:00 +0000
commit75531214b8abbba3c0430d94f2562b9355fe088b (patch)
tree739243787bdb13b361cc1194f5b3a169d64d3c2e /test
parent61fe91d94f346deabfa0b672558419322f8e8076 (diff)
downloadlibgnomekbd-75531214b8abbba3c0430d94f2562b9355fe088b.tar.gz
small C89 fix
Diffstat (limited to 'test')
-rw-r--r--test/gkbd-config-registry-server.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/test/gkbd-config-registry-server.c b/test/gkbd-config-registry-server.c
index 2f7669b..b4c0fac 100644
--- a/test/gkbd-config-registry-server.c
+++ b/test/gkbd-config-registry-server.c
@@ -35,6 +35,8 @@ static GMainLoop *loop;
int
main ()
{
+ GkbdConfigRegistry *reg;
+
g_type_init_with_debug_flags (G_TYPE_DEBUG_OBJECTS |
G_TYPE_DEBUG_SIGNALS);
@@ -42,10 +44,9 @@ main ()
setlocale(LC_ALL, "");
#endif
- GkbdConfigRegistry *reg =
- GKBD_CONFIG_REGISTRY (g_object_new
- (gkbd_config_registry_get_type
- (), NULL));
+ reg = GKBD_CONFIG_REGISTRY (g_object_new
+ (gkbd_config_registry_get_type
+ (), NULL));
loop = g_main_loop_new (NULL, FALSE);