diff --git a/legacy/eina/src/include/eina_inarray.h b/legacy/eina/src/include/eina_inarray.h index 5a9f9d99b3..034a11602b 100644 --- a/legacy/eina/src/include/eina_inarray.h +++ b/legacy/eina/src/include/eina_inarray.h @@ -76,7 +76,7 @@ * to ask eina to use a step of size 4 because that's how many elements we'll be * putting on the array: * @until _step_set - * @note Strictly speaking the reason to call eina_inarray_setup() is not + * @note Strictly speaking the reason to call eina_inarray_step_set() is not * because we're storing different type, but rather because our types have * different sizes. Eina inline arrays don't actually know anything about types, * they only deal in blocks of memory of a given size. diff --git a/legacy/eina/src/lib/eina_model.c b/legacy/eina/src/lib/eina_model.c index ee8e3e978b..22ca71867e 100644 --- a/legacy/eina/src/lib/eina_model.c +++ b/legacy/eina/src/lib/eina_model.c @@ -2769,7 +2769,7 @@ _eina_model_interface_children_inarray_setup(Eina_Model *model) DBG("setup interface children (inarray) at %p model %p (%s)", priv, model, model->desc->cache.types[0]->name); - eina_inarray_setup(priv, sizeof(Eina_Model *), 0); + eina_inarray_step_set(priv, sizeof(Eina_Inarray), sizeof(Eina_Model *), 0); return EINA_TRUE; }