projects
/
profile
/
mobile
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8a7c5f
)
[Genlist] Fix job bug
author
Tae-Hwan Kim
<the81.kim@samsung.com>
Thu, 2 May 2013 16:30:49 +0000
(
01:30
+0900)
committer
Sungho Kwak
<sungho1.kwak@samsung.com>
Wed, 12 Jun 2013 04:48:16 +0000
(13:48 +0900)
Before call _calc_job directly, job should be removed.
Because dangling job can be remained
Change-Id: I4764903b6f6f528b833850b9b863b3c8a5d9ce9a
src/lib/elm_genlist.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_genlist.c
b/src/lib/elm_genlist.c
index
5706dd3
..
ba93d04
100644
(file)
--- a/
src/lib/elm_genlist.c
+++ b/
src/lib/elm_genlist.c
@@
-2181,6
+2181,8
@@
_elm_genlist_pan_smart_calculate(Evas_Object *obj)
#endif
if (psd->wsd->pan_changed)
{
+ if (psd->wsd->calc_job) ecore_job_del(psd->wsd->calc_job);
+ psd->wsd->calc_job = NULL;
_calc_job(psd->wsd);
psd->wsd->pan_changed = EINA_FALSE;
}