diff options
author | Jean-Philippe Andre <jp.andre@samsung.com> | 2014-05-13 11:24:43 +0900 |
---|---|---|
committer | Jean-Philippe Andre <jp.andre@samsung.com> | 2014-05-13 15:03:16 +0900 |
commit | da2929b8f86749321e2bb57bb505dfcbf9447c54 (patch) | |
tree | a42fd8f5fc672a411b15e22b8edf3d47d1d322cd | |
parent | 60abc337c79c108c62c28852e26a6eeb9afe8d40 (diff) | |
download | efl-da2929b8f86749321e2bb57bb505dfcbf9447c54.tar.gz |
edje_text: Remove no-op pad_get
This call to pad_get is useless.
-rw-r--r-- | src/lib/edje/edje_text.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/lib/edje/edje_text.c b/src/lib/edje/edje_text.c index ee35101fd6..69f0123db7 100644 --- a/src/lib/edje/edje_text.c +++ b/src/lib/edje/edje_text.c @@ -247,13 +247,9 @@ _edje_text_recalc_apply(Edje *ed, Edje_Real_Part *ep, font = font2; } } - { - int l, r, t, b; - evas_object_text_style_pad_get(ep->object, &l, &r, &t, &b); - sw = TO_INT(params->eval.w); - sh = TO_INT(params->eval.h); - } + sw = TO_INT(params->eval.w); + sh = TO_INT(params->eval.h); if (params->type.text.size) size = params->type.text.size; |