fix smart sma by allowing more recursion

this ups the recursion allowance to 4096. it solves T494
This commit is contained in:
Carsten Haitzler 2013-11-24 19:14:28 +09:00
parent 38dd405712
commit 1319733cae
1 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ struct _Evas_Object_Smart
int walking_list;
int member_count; /** number of smart member objects */
unsigned char recalculate_cycle;
unsigned short 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 > 254)
if (o->recalculate_cycle > 4096)
{
ERR("Object %p is not stable during recalc loop", eo_obj);
return;