forked from enlightenment/efl
edje: remove recalc from content_get and text_get
neither of these functions should force a recalc under any circumstance as they are simply returning pointers @fix Differential Revision: https://phab.enlightenment.org/D5947
This commit is contained in:
parent
e1036aff40
commit
668d68cdf4
|
@ -2052,9 +2052,6 @@ _edje_efl_text_text_get(const Eo *obj EINA_UNUSED, Edje *ed, const char *part,
|
|||
|
||||
if ((!ed) || (!part)) return NULL;
|
||||
|
||||
/* Need to recalc before providing the object. */
|
||||
if (!ed->freeze) _edje_recalc_do(ed);
|
||||
|
||||
rp = _edje_real_part_recursive_get(&ed, part);
|
||||
if (!rp) return NULL;
|
||||
if ((rp->type != EDJE_RP_TYPE_TEXT) ||
|
||||
|
@ -3274,9 +3271,6 @@ _edje_efl_content_content_get(Edje *ed, const char *part)
|
|||
|
||||
if ((!ed) || (!part)) return NULL;
|
||||
|
||||
/* Need to recalc before providing the object. */
|
||||
if (!ed->freeze) _edje_recalc_do(ed);
|
||||
|
||||
rp = _edje_real_part_recursive_get(&ed, part);
|
||||
if (!rp) return NULL;
|
||||
|
||||
|
|
Loading…
Reference in New Issue