seoz pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=5b21fa71694fb2e09094e332710ddcafc216ae07

commit 5b21fa71694fb2e09094e332710ddcafc216ae07
Author: Daniel Juyung Seo <[email protected]>
Date:   Mon Dec 2 16:02:23 2013 +0900

    Revert "fix smart sma by allowing more recursion"
    
    This reverts commit 1319733caeb811cd0d53b589b8a11f4229455ed3.
    
    Let's revert this patch and lower the recursion number.
    As we released efl 1.8, let's find the root causes of the problem and fix 
them.
    I already told this revert to raster so I am not mean :)
---
 src/lib/evas/canvas/evas_object_smart.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/evas/canvas/evas_object_smart.c 
b/src/lib/evas/canvas/evas_object_smart.c
index 6a49c4d..a1ade26 100644
--- a/src/lib/evas/canvas/evas_object_smart.c
+++ b/src/lib/evas/canvas/evas_object_smart.c
@@ -37,7 +37,7 @@ struct _Evas_Object_Smart
    int               walking_list;
    int               member_count; /** number of smart member objects */
 
-   unsigned short    recalculate_cycle;
+   unsigned char     recalculate_cycle;
 
    Eina_Bool         deletions_waiting : 1;
    Eina_Bool         need_recalculate : 1;
@@ -1070,7 +1070,7 @@ _smart_need_recalculate_set(Eo *eo_obj, void *_pd, 
va_list *list)
 
    if (o->need_recalculate == value) return;
 
-   if (o->recalculate_cycle > 4096)
+   if (o->recalculate_cycle > 254)
      {
         ERR("Object %p is not stable during recalc loop", eo_obj);
         return;

-- 


Reply via email to