* edje: On size hints don't forget to invalidate real part cache.

SVN revision: 43416
This commit is contained in:
Cedric BAIL 2009-11-02 10:18:14 +00:00
parent cbe78d32f2
commit 94d9897398
1 changed files with 4 additions and 3 deletions

View File

@ -3858,6 +3858,10 @@ _edje_real_part_swallow_hints_update(Edje_Real_Part *rp)
rp->swallow_params.aspect.h = ah;
evas_object_data_set(rp->swallowed_object, "\377 edje.swallowing_part", rp);
}
#ifdef EDJE_CALC_CACHE
rp->invalidate = 1;
#endif
}
void
@ -3898,9 +3902,6 @@ _edje_real_part_swallow(Edje_Real_Part *rp, Evas_Object *obj_swallow)
}
else
{
#ifdef EDJE_CALC_CACHE
rp->invalidate = 1;
#endif
_edje_real_part_swallow_hints_update(rp);
rp->edje->dirty = 1;
_edje_recalc(rp->edje);