genlist: use macro as possible.

This commit is contained in:
ChunEon Park 2015-01-06 15:50:30 +09:00
parent 1b2401849a
commit 0e939442d0
1 changed files with 2 additions and 2 deletions

View File

@ -6694,7 +6694,7 @@ _elm_genlist_item_expanded_get(Eo *eo_item EINA_UNUSED, Elm_Gen_Item *it)
{
ELM_GENLIST_ITEM_CHECK_OR_RETURN(it, EINA_FALSE);
return it->item->expanded;
return GL_IT(it)->expanded;
}
EOLIAN static int
@ -6702,7 +6702,7 @@ _elm_genlist_item_expanded_depth_get(Eo *eo_item EINA_UNUSED, Elm_Gen_Item *it)
{
ELM_GENLIST_ITEM_CHECK_OR_RETURN(it, 0);
return it->item->expanded_depth;
return GL_IT(it)->expanded_depth;
}
static Eina_Bool