forked from enlightenment/efl
Genlist: Add NULL item check to *_item_next_get().
It's there for _item_prev_get(), so I guess it's expected.
This commit is contained in:
parent
467814278f
commit
2c686c83c8
|
@ -6565,6 +6565,7 @@ _elm_genlist_last_item_get(Eo *obj EINA_UNUSED, Elm_Genlist_Data *sd)
|
|||
EOLIAN static Elm_Object_Item *
|
||||
_elm_genlist_item_next_get(Eo *eo_it EINA_UNUSED, Elm_Gen_Item *it)
|
||||
{
|
||||
if (!it) return NULL;
|
||||
ELM_GENLIST_DATA_GET_FROM_ITEM(it, sd);
|
||||
|
||||
if (!sd->filter)
|
||||
|
|
Loading…
Reference in New Issue