From eae2cabadd1094b21c8acb3ac4e8326570fb9d9b Mon Sep 17 00:00:00 2001 From: cedric Date: Mon, 2 Nov 2009 10:18:14 +0000 Subject: [PATCH] * edje: On size hints don't forget to invalidate real part cache. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@43416 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/edje_util.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/lib/edje_util.c b/src/lib/edje_util.c index 500d220..aec5455 100644 --- a/src/lib/edje_util.c +++ b/src/lib/edje_util.c @@ -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); -- 2.7.4