forked from enlightenment/efl
Evas: Fix shadow declaration of variable 'index'
SVN revision: 59712
This commit is contained in:
parent
96b00531c9
commit
b1181721fa
|
@ -89,11 +89,11 @@ _evas_object_grid_iterator_free(Evas_Object_Grid_Iterator *it)
|
||||||
}
|
}
|
||||||
|
|
||||||
static Eina_Bool
|
static Eina_Bool
|
||||||
_evas_object_grid_accessor_get_at(Evas_Object_Grid_Accessor *it, unsigned int index, void **data)
|
_evas_object_grid_accessor_get_at(Evas_Object_Grid_Accessor *it, unsigned int idx, void **data)
|
||||||
{
|
{
|
||||||
Evas_Object_Grid_Option *opt = NULL;
|
Evas_Object_Grid_Option *opt = NULL;
|
||||||
|
|
||||||
if (!eina_accessor_data_get(it->real_accessor, index, (void **)&opt))
|
if (!eina_accessor_data_get(it->real_accessor, idx, (void **)&opt))
|
||||||
return EINA_FALSE;
|
return EINA_FALSE;
|
||||||
if (data) *data = opt->obj;
|
if (data) *data = opt->obj;
|
||||||
return EINA_TRUE;
|
return EINA_TRUE;
|
||||||
|
|
Loading…
Reference in New Issue