projects
/
framework
/
uifw
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73ead6f
)
[elm_index] bug fix: eina_list null check
author
Jaeun Choi
<jaeun12.choi@samsung.com>
Thu, 14 Mar 2013 13:03:17 +0000
(22:03 +0900)
committer
Sungho Kwak
<sungho1.kwak@samsung.com>
Mon, 18 Mar 2013 04:21:28 +0000
(13:21 +0900)
src/lib/elm_index.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_index.c
b/src/lib/elm_index.c
index
c32c2e3
..
720fe8f
100644
(file)
--- a/
src/lib/elm_index.c
+++ b/
src/lib/elm_index.c
@@
-313,8
+313,11
@@
_index_box_auto_fill(Evas_Object *obj,
}
// TIZEN ONLY adjust the last item's theme according to winset gui
- it = eina_list_nth(sd->items, i - 1);
- edje_object_signal_emit(VIEW(it), "elm,last,item", "elm");
+ if (sd->items)
+ {
+ it = eina_list_nth(sd->items, i - 1);
+ edje_object_signal_emit(VIEW(it), "elm,last,item", "elm");
+ }
// TIZEN ONLY
evas_object_smart_calculate(box);