Elementary gengrid: Fixed bug. Patch by Jeonghyun Yun
authorseoz <seoz@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 29 Apr 2011 10:50:55 +0000 (10:50 +0000)
committerseoz <seoz@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 29 Apr 2011 10:50:55 +0000 (10:50 +0000)
<hj0506.yun@smasung.com>

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: https://svn.enlightenment.org/svn/e/trunk/elementary@59034 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/elm_gengrid.c

index 7198836..b6a2928 100644 (file)
@@ -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