summaryrefslogtreecommitdiff
path: root/tumbler
diff options
context:
space:
mode:
authorJannis Pohlmann <jannis@xfce.org>2010-01-09 21:46:52 +0100
committerJannis Pohlmann <jannis@xfce.org>2010-02-25 18:34:13 +0100
commit693fc5ff3f337fb1e0fa40c8a5a126dfede6babd (patch)
tree0738329e2bfbb221f694dd41a785dbe85e24b4bc /tumbler
parented8bfa93400d0d82a6c1f1ed417fe0a2edc8a125 (diff)
downloadtumbler-693fc5ff3f337fb1e0fa40c8a5a126dfede6babd.tar.gz
Avoid compiler warning due to global name shadowing.
Diffstat (limited to 'tumbler')
-rw-r--r--tumbler/tumbler-provider-factory.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tumbler/tumbler-provider-factory.c b/tumbler/tumbler-provider-factory.c
index 2adcffd..afa47e3 100644
--- a/tumbler/tumbler-provider-factory.c
+++ b/tumbler/tumbler-provider-factory.c
@@ -124,7 +124,7 @@ tumbler_provider_factory_add_types (TumblerProviderFactory *factory,
{
TumblerProviderInfo *provider_info;
const GType *types;
- guint index;
+ guint idx;
gint n_types;
gint n;
@@ -142,11 +142,11 @@ tumbler_provider_factory_add_types (TumblerProviderFactory *factory,
provider_info->type = types[n];
provider_info->provider = NULL;
- /* compute the index for this info */
- index = factory->provider_infos->len - n_types + n;
+ /* compute the idx for this info */
+ idx = factory->provider_infos->len - n_types + n;
/* insert the provider info into the array */
- factory->provider_infos->pdata[index] = provider_info;
+ factory->provider_infos->pdata[idx] = provider_info;
}
}