edje - actually we don't need extra variable.

This commit is contained in:
ChunEon Park 2013-11-21 13:50:19 +09:00
parent 12aba0db5a
commit eea338764a
2 changed files with 2 additions and 6 deletions

View File

@ -3352,7 +3352,7 @@ _edje_part_recalc(Edje *ed, Edje_Real_Part *ep, int flags, Edje_Calc_Params *sta
(statep1 >= ep->param1.state) ||
proxy_invalidate ||
state ||
(ep->map_on && ed->have_mapped_part) ||
(ed->have_mapped_part && chosen_desc->map.on) ||
((ep->part->type == EDJE_PART_TYPE_TEXT ||
ep->part->type == EDJE_PART_TYPE_TEXTBLOCK) &&
ed->text_part_change))
@ -3421,7 +3421,7 @@ _edje_part_recalc(Edje *ed, Edje_Real_Part *ep, int flags, Edje_Calc_Params *sta
(statep2 >= ep->param2->state) ||
proxy_invalidate ||
state ||
(ep->map_on && ed->have_mapped_part) ||
(ed->have_mapped_part && chosen_desc->map.on) ||
((ep->part->type == EDJE_PART_TYPE_TEXT ||
ep->part->type == EDJE_PART_TYPE_TEXTBLOCK) &&
ed->text_part_change))
@ -3895,7 +3895,6 @@ _edje_part_recalc(Edje *ed, Edje_Real_Part *ep, int flags, Edje_Calc_Params *sta
static Evas_Map *map = NULL;
ed->have_mapped_part = EINA_TRUE;
ep->map_on = EINA_TRUE;
// create map and populate with part geometry
if (!map) map = evas_map_new(4);
@ -3917,8 +3916,6 @@ _edje_part_recalc(Edje *ed, Edje_Real_Part *ep, int flags, Edje_Calc_Params *sta
}
else
{
ep->map_on = EINA_FALSE;
if (ep->nested_smart)
{ /* Cancel map of smart obj holding nested parts */
eo_do(ep->nested_smart,

View File

@ -1594,7 +1594,6 @@ struct _Edje_Real_Part
#ifdef EDJE_CALC_CACHE
Eina_Bool invalidate : 1; // 0
#endif
Eina_Bool map_on : 1; // 0
}; // 128
// WITH EDJE_CALC_CACHE: 407