dont call recalc if doing calc only
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 4 Jan 2012 05:17:11 +0000 (05:17 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 4 Jan 2012 05:17:11 +0000 (05:17 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@66849 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/edje_calc.c

index 5f84b64..b2f6da6 100644 (file)
@@ -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