summaryrefslogtreecommitdiff
path: root/src/lib/edje
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2014-12-24 14:51:03 +0900
committerChunEon Park <hermet@hermet.pe.kr>2014-12-24 14:51:03 +0900
commit956754ee5752aa8f1f0bfc0676ebedc8b8b46f08 (patch)
tree450be2ede7b6c449d14ada0902488d3ceed91e31 /src/lib/edje
parentbb74ded8c8179237e5ddf86bc9058d5b4d226326 (diff)
edje/edje_calc: clean up code
remove duplicated.
Diffstat (limited to 'src/lib/edje')
-rw-r--r--src/lib/edje/edje_calc.c18
1 files changed, 8 insertions, 10 deletions
diff --git a/src/lib/edje/edje_calc.c b/src/lib/edje/edje_calc.c
index f6d75e6cc7..faa1f95353 100644
--- a/src/lib/edje/edje_calc.c
+++ b/src/lib/edje/edje_calc.c
@@ -3987,19 +3987,17 @@ _edje_part_recalc(Edje *ed, Edje_Real_Part *ep, int flags, Edje_Calc_Params *sta
3987 3987
3988 _edje_map_prop_set(map, pf, chosen_desc, ep, mo); 3988 _edje_map_prop_set(map, pf, chosen_desc, ep, mo);
3989 3989
3990 if (ep->nested_smart) 3990 Evas_Object *map_obj;
3991 { /* Apply map to smart obj holding nested parts */ 3991
3992 eo_do(ep->nested_smart, 3992 /* Apply map to smart obj holding nested parts */
3993 if (ep->nested_smart) map_obj = ep->nested_smart;
3994 else map_obj = mo;
3995 if (map_obj)
3996 {
3997 eo_do(map_obj,
3993 evas_obj_map_set(map), 3998 evas_obj_map_set(map),
3994 evas_obj_map_enable_set(EINA_TRUE)); 3999 evas_obj_map_enable_set(EINA_TRUE));
3995 } 4000 }
3996 else
3997 {
3998 if (mo)
3999 eo_do(mo,
4000 evas_obj_map_set(map),
4001 evas_obj_map_enable_set(EINA_TRUE));
4002 }
4003 } 4001 }
4004 else 4002 else
4005 { 4003 {