projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91084ce
)
lets not add all sorts of null object access fun!
author
Carsten Haitzler
<raster@rasterman.com>
Sat, 8 Dec 2012 15:19:00 +0000
(15:19 +0000)
committer
Carsten Haitzler
<raster@rasterman.com>
Sat, 8 Dec 2012 15:19:00 +0000
(15:19 +0000)
SVN revision: 80523
legacy/edje/src/lib/edje_calc.c
patch
|
blob
|
history
diff --git
a/legacy/edje/src/lib/edje_calc.c
b/legacy/edje/src/lib/edje_calc.c
index
b80912a
..
5fb5c0e
100644
(file)
--- 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
}
else
{
- eo_do(mo,
- evas_obj_map_set(map),
- evas_obj_map_enable_set(1));
+ if (mo)
+ eo_do(mo,
+ evas_obj_map_set(map),
+ evas_obj_map_enable_set(1));
}
}
else
@@
-3338,9
+3339,10
@@
_edje_part_recalc(Edje *ed, Edje_Real_Part *ep, int flags, Edje_Calc_Params *sta
if (!ep->body)
{
#endif
- eo_do(mo,
- evas_obj_map_enable_set(0),
- evas_obj_map_set(NULL));
+ if (mo)
+ eo_do(mo,
+ evas_obj_map_enable_set(0),
+ evas_obj_map_set(NULL));
#ifdef HAVE_EPHYSICS
}
#endif