forked from enlightenment/efl
genlist: use macro as possible.
This commit is contained in:
parent
1b2401849a
commit
0e939442d0
|
@ -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);
|
ELM_GENLIST_ITEM_CHECK_OR_RETURN(it, EINA_FALSE);
|
||||||
|
|
||||||
return it->item->expanded;
|
return GL_IT(it)->expanded;
|
||||||
}
|
}
|
||||||
|
|
||||||
EOLIAN static int
|
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);
|
ELM_GENLIST_ITEM_CHECK_OR_RETURN(it, 0);
|
||||||
|
|
||||||
return it->item->expanded_depth;
|
return GL_IT(it)->expanded_depth;
|
||||||
}
|
}
|
||||||
|
|
||||||
static Eina_Bool
|
static Eina_Bool
|
||||||
|
|
Loading…
Reference in New Issue