forked from enlightenment/efl
gengrid: Remove unnecessary if statement
Summary: func.content_get is already checked in enclosed block. Reviewers: seoz, cedric, raster Reviewed By: seoz Differential Revision: https://phab.enlightenment.org/D366
This commit is contained in:
parent
0bd965abc8
commit
9816a8cae1
|
@ -803,9 +803,7 @@ _item_realize(Elm_Gen_Item *it)
|
|||
(edje_object_data_get(VIEW(it), "contents"));
|
||||
EINA_LIST_FOREACH(it->contents, l, key)
|
||||
{
|
||||
if (it->itc->func.content_get)
|
||||
ic = it->itc->func.content_get
|
||||
((void *)it->base.data, WIDGET(it), key);
|
||||
ic = it->itc->func.content_get((void *)it->base.data, WIDGET(it), key);
|
||||
if (ic)
|
||||
{
|
||||
it->content_objs = eina_list_append(it->content_objs, ic);
|
||||
|
|
Loading…
Reference in New Issue