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:
a0bdc5b
)
[elm_genlist] fix group item max number check
author
Seunggyun Kim
<sgyun.kim@samsung.com>
Tue, 26 Oct 2010 06:16:27 +0000
(15:16 +0900)
committer
Seunggyun Kim
<sgyun.kim@samsung.com>
Tue, 26 Oct 2010 06:16:27 +0000
(15:16 +0900)
src/lib/elm_genlist.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_genlist.c
b/src/lib/elm_genlist.c
index
9651afa
..
3ae7ed9
100644
(file)
--- a/
src/lib/elm_genlist.c
+++ b/
src/lib/elm_genlist.c
@@
-1476,7
+1476,8
@@
_groupitem_unrealize(Elm_Genlist_GroupItem *git)
EINA_LIST_FREE(git->icon_objs, icon)
evas_object_del(icon);
- git->wd->max_git_num--;
+ if(git->wd->max_git_num)
+ git->wd->max_git_num--;
git->states = NULL;
git->realized = EINA_FALSE;
}