From 610a8f508a40134d522efdad7461e2de151a8402 Mon Sep 17 00:00:00 2001 From: seoz Date: Fri, 29 Apr 2011 10:50:55 +0000 Subject: [PATCH] Elementary gengrid: Fixed bug. Patch by Jeonghyun Yun From Jeonghyun Yun. Hello. I attached the patch file for calc_job bug. I found ecore_magic_fail problem when ecore_job_del(wd->calc_job). wd->calc_job should also to be NULL when pan_smart's cvw and cvh is 0 in calc_job(). Please check about this patch. Thanks. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@59034 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/elm_gengrid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/elm_gengrid.c b/src/lib/elm_gengrid.c index 7198836..b6a2928 100644 --- a/src/lib/elm_gengrid.c +++ b/src/lib/elm_gengrid.c @@ -1339,9 +1339,9 @@ _calc_job(void *data) } wd->nmax = nmax; - wd->calc_job = NULL; evas_object_smart_changed(wd->pan_smart); } + wd->calc_job = NULL; } static void -- 2.7.4