genlist: + null check

This commit is contained in:
ChunEon Park 2015-01-02 20:04:55 +09:00
parent 2ede0112bd
commit 30a74e27da
1 changed files with 2 additions and 2 deletions

View File

@ -1248,8 +1248,8 @@ _view_inflate(Evas_Object *view, Elm_Gen_Item *it, Eina_List **sources,
Eina_List **contents)
{
if (!view) return;
_item_text_realize(it, view, sources, NULL);
_item_content_realize(it, view, contents, "contents", NULL);
if (sources) _item_text_realize(it, view, sources, NULL);
if (contents) _item_content_realize(it, view, contents, "contents", NULL);
_item_state_realize(it, view, NULL);
}