projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8c5d11
)
genlist: + null check
author
ChunEon Park
<hermet@hermet.pe.kr>
Fri, 2 Jan 2015 11:04:55 +0000
(20:04 +0900)
committer
ChunEon Park
<hermet@hermet.pe.kr>
Fri, 2 Jan 2015 11:04:55 +0000
(20:04 +0900)
src/lib/elm_genlist.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_genlist.c
b/src/lib/elm_genlist.c
index
b4b1934
..
59a2cd1
100644
(file)
--- a/
src/lib/elm_genlist.c
+++ b/
src/lib/elm_genlist.c
@@
-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);
}