gobject/tests/signals.c: Remove C99ism

Declare variables in start of block.
This commit is contained in:
Chun-wei Fan 2012-04-05 15:46:34 +08:00
parent 63673da5eb
commit 24fa2ee53c

View File

@ -696,9 +696,11 @@ test_all_types (void)
GBytes *bytes = g_bytes_new_static ("Blah", 5);
gpointer ptr = &enum_type;
GVariant *var = g_variant_new_uint16 (99);
gint64 i64;
guint64 ui64;
g_variant_ref_sink (var);
gint64 i64 = G_MAXINT64 - 1234;
guint64 ui64 = G_MAXUINT64 - 123456;
i64 = G_MAXINT64 - 1234;
ui64 = G_MAXUINT64 - 123456;
test = g_object_new (test_get_type (), NULL);