summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_object_smart.c
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-11-24 19:14:28 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-11-24 19:14:28 +0900
commit1319733caeb811cd0d53b589b8a11f4229455ed3 (patch)
tree18511ad18b44a631d80dacdccf2b7acb1b4b12c3 /src/lib/evas/canvas/evas_object_smart.c
parent38dd405712f5306fdb4b30c3fc7b55ea39d03016 (diff)
fix smart sma by allowing more recursion
this ups the recursion allowance to 4096. it solves T494
Diffstat (limited to '')
-rw-r--r--src/lib/evas/canvas/evas_object_smart.c4
1 files 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 11e870b8ee..194ed3552f 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
37 int walking_list; 37 int walking_list;
38 int member_count; /** number of smart member objects */ 38 int member_count; /** number of smart member objects */
39 39
40 unsigned char recalculate_cycle; 40 unsigned short recalculate_cycle;
41 41
42 Eina_Bool deletions_waiting : 1; 42 Eina_Bool deletions_waiting : 1;
43 Eina_Bool need_recalculate : 1; 43 Eina_Bool need_recalculate : 1;
@@ -1070,7 +1070,7 @@ _smart_need_recalculate_set(Eo *eo_obj, void *_pd, va_list *list)
1070 1070
1071 if (o->need_recalculate == value) return; 1071 if (o->need_recalculate == value) return;
1072 1072
1073 if (o->recalculate_cycle > 254) 1073 if (o->recalculate_cycle > 4096)
1074 { 1074 {
1075 ERR("Object %p is not stable during recalc loop", eo_obj); 1075 ERR("Object %p is not stable during recalc loop", eo_obj);
1076 return; 1076 return;