diff options
author | Philip Withnall <withnall@endlessm.com> | 2017-03-07 09:47:30 +0000 |
---|---|---|
committer | Philip Withnall <withnall@endlessm.com> | 2017-03-07 09:47:30 +0000 |
commit | ed92c4bcc4660b14254c2f78f2c6138dc20fd0c0 (patch) | |
tree | d13067a11a9716573917a5d68dc1c0aeacfc2c93 /tests/testheightforwidth.c | |
parent | f640749853db7dc17050c699afabfa6c188a746c (diff) | |
download | gtk+-ed92c4bcc4660b14254c2f78f2c6138dc20fd0c0.tar.gz |
tests: Fix use of C99 inline declaration
We don’t claim to use them yet, even if we perhaps should.
Diffstat (limited to 'tests/testheightforwidth.c')
-rw-r--r-- | tests/testheightforwidth.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/testheightforwidth.c b/tests/testheightforwidth.c index 807aecd862..7a0d4138ea 100644 --- a/tests/testheightforwidth.c +++ b/tests/testheightforwidth.c @@ -986,7 +986,9 @@ create_window (void) static gboolean main_window_delete_cb (GtkWidget *widget, GdkEvent *event, gpointer user_data) { - for (gsize i = 0; i < G_N_ELEMENTS (interfaces); ++i) + gsize i; + + for (i = 0; i < G_N_ELEMENTS (interfaces); ++i) { if (interfaces[i].window) gtk_widget_destroy (interfaces[i].window); |