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:
ed70c4e
)
[elm_genlist.c] Added parameter verification routine.
author
Daniel Juyung Seo
<juyung.seo@samsung.com>
Sun, 31 Oct 2010 03:27:25 +0000
(12:27 +0900)
committer
Daniel Juyung Seo
<juyung.seo@samsung.com>
Sun, 31 Oct 2010 03:27:25 +0000
(12:27 +0900)
src/lib/elm_genlist.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_genlist.c
b/src/lib/elm_genlist.c
index
3377df8
..
c01a48a
100644
(file)
--- a/
src/lib/elm_genlist.c
+++ b/
src/lib/elm_genlist.c
@@
-4089,9
+4089,10
@@
elm_genlist_item_subitems_clear(Elm_Genlist_Item *it)
EAPI void
elm_genlist_item_selected_set(Elm_Genlist_Item *it, Eina_Bool selected)
{
+ if (!it) return;
+ ELM_CHECK_WIDTYPE(it->wd->obj, widtype);
Widget_Data *wd = elm_widget_data_get(it->wd->obj);
if (!wd) return;
- if (!it) return;
if (it->delete_me) return;
selected = !!selected;
if (it->selected == selected) return;