From: raster Date: Wed, 4 Jan 2012 05:17:11 +0000 (+0000) Subject: dont call recalc if doing calc only X-Git-Tag: submit/2.0alpha-wayland/20121127.221958~455 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=eb8cd17b4fdbd3a8ed7b04fc61d1ae619d5d3a6a;p=profile%2Fivi%2Fedje.git dont call recalc if doing calc only git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@66849 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/edje_calc.c b/src/lib/edje_calc.c index 5f84b64..b2f6da6 100644 --- a/src/lib/edje_calc.c +++ b/src/lib/edje_calc.c @@ -460,7 +460,8 @@ _edje_recalc_do(Edje *ed) ed->all_part_change = 0; ed->text_part_change = 0; #endif - evas_object_smart_callback_call(ed->obj, "recalc", NULL); + if (!ed->calc_only) + evas_object_smart_callback_call(ed->obj, "recalc", NULL); } void