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 5bdc85d34e
commit c00448f7c6

View File

@ -989,7 +989,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);