lets not add all sorts of null object access fun!

SVN revision: 80523
This commit is contained in:
Carsten Haitzler 2012-12-08 15:19:00 +00:00
parent 91084ce26d
commit f74c3dae75
1 changed files with 8 additions and 6 deletions

View File

@ -3319,9 +3319,10 @@ _edje_part_recalc(Edje *ed, Edje_Real_Part *ep, int flags, Edje_Calc_Params *sta
} }
else else
{ {
eo_do(mo, if (mo)
evas_obj_map_set(map), eo_do(mo,
evas_obj_map_enable_set(1)); evas_obj_map_set(map),
evas_obj_map_enable_set(1));
} }
} }
else else
@ -3338,9 +3339,10 @@ _edje_part_recalc(Edje *ed, Edje_Real_Part *ep, int flags, Edje_Calc_Params *sta
if (!ep->body) if (!ep->body)
{ {
#endif #endif
eo_do(mo, if (mo)
evas_obj_map_enable_set(0), eo_do(mo,
evas_obj_map_set(NULL)); evas_obj_map_enable_set(0),
evas_obj_map_set(NULL));
#ifdef HAVE_EPHYSICS #ifdef HAVE_EPHYSICS
} }
#endif #endif