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:
feea2b0
)
[elm_genlist] fix opensource bug about item_select null check
author
Seunggyun Kim
<sgyun.kim@samsung.com>
Thu, 3 Mar 2011 04:14:37 +0000
(13:14 +0900)
committer
Seunggyun Kim
<sgyun.kim@samsung.com>
Thu, 3 Mar 2011 04:14:37 +0000
(13:14 +0900)
src/lib/elm_genlist.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_genlist.c
b/src/lib/elm_genlist.c
index
4dfc86d
..
17b4439
100644
(file)
--- a/
src/lib/elm_genlist.c
+++ b/
src/lib/elm_genlist.c
@@
-1068,7
+1068,10
@@
call:
it->walking--;
it->wd->walking--;
if ((it->wd->clear_me) && (!it->wd->walking))
- elm_genlist_clear(it->base.widget);
+ {
+ elm_genlist_clear(it->base.widget);
+ return;
+ }
else
{
if ((!it->walking) && (it->delete_me))
@@
-1076,7
+1079,7
@@
call:
if (!it->relcount) _item_del(it);
}
}
- it->wd->last_selected_item = it;
+ i
f (it && it->wd) i
t->wd->last_selected_item = it;
}
static void