tests: Fix use of C99 inline declaration

We don’t claim to use them yet, even if we perhaps should.
This commit is contained in:
Philip Withnall 2017-03-07 09:47:30 +00:00
parent f640749853
commit ed92c4bcc4

View File

@ -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);