summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2012-12-08 15:19:00 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-12-08 15:19:00 +0000
commitf74c3dae7527665455588647e744e2250cfabe39 (patch)
tree507afd337aadd5cf51bef2e0a39af2049df3ec4b
parent91084ce26d364e848790f5dcb449ca5ef55367e3 (diff)
lets not add all sorts of null object access fun!
SVN revision: 80523
-rw-r--r--legacy/edje/src/lib/edje_calc.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/legacy/edje/src/lib/edje_calc.c b/legacy/edje/src/lib/edje_calc.c
index b80912a7f6..5fb5c0e47a 100644
--- a/legacy/edje/src/lib/edje_calc.c
+++ b/legacy/edje/src/lib/edje_calc.c
@@ -3319,9 +3319,10 @@ _edje_part_recalc(Edje *ed, Edje_Real_Part *ep, int flags, Edje_Calc_Params *sta
3319 } 3319 }
3320 else 3320 else
3321 { 3321 {
3322 eo_do(mo, 3322 if (mo)
3323 evas_obj_map_set(map), 3323 eo_do(mo,
3324 evas_obj_map_enable_set(1)); 3324 evas_obj_map_set(map),
3325 evas_obj_map_enable_set(1));
3325 } 3326 }
3326 } 3327 }
3327 else 3328 else
@@ -3338,9 +3339,10 @@ _edje_part_recalc(Edje *ed, Edje_Real_Part *ep, int flags, Edje_Calc_Params *sta
3338 if (!ep->body) 3339 if (!ep->body)
3339 { 3340 {
3340#endif 3341#endif
3341 eo_do(mo, 3342 if (mo)
3342 evas_obj_map_enable_set(0), 3343 eo_do(mo,
3343 evas_obj_map_set(NULL)); 3344 evas_obj_map_enable_set(0),
3345 evas_obj_map_set(NULL));
3344#ifdef HAVE_EPHYSICS 3346#ifdef HAVE_EPHYSICS
3345 } 3347 }
3346#endif 3348#endif