From 99485d96811667ef7a7a393b68b7361733157d61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20P=C3=B6lsterl?= Date: Sat, 18 Feb 2012 00:38:05 +0100 Subject: Don't use C99 style --- gi/pygi-cache.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gi/pygi-cache.c b/gi/pygi-cache.c index 5dc811a5..5b107e1c 100644 --- a/gi/pygi-cache.c +++ b/gi/pygi-cache.c @@ -1219,6 +1219,7 @@ static void _arg_name_list_generate (PyGICallableCache *callable_cache) { GSList * arg_name_list = NULL; + int i; if (callable_cache->arg_name_hash == NULL) { callable_cache->arg_name_hash = g_hash_table_new (g_str_hash, g_str_equal); @@ -1226,7 +1227,7 @@ _arg_name_list_generate (PyGICallableCache *callable_cache) g_hash_table_remove_all (callable_cache->arg_name_hash); } - for (int i=0; i < callable_cache->n_args; i++) { + for (i=0; i < callable_cache->n_args; i++) { PyGIArgCache *arg_cache = NULL; arg_cache = callable_cache->args_cache[i]; -- cgit v1.2.1