summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2014-05-13 11:24:43 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2014-05-13 15:03:16 +0900
commitda2929b8f86749321e2bb57bb505dfcbf9447c54 (patch)
treea42fd8f5fc672a411b15e22b8edf3d47d1d322cd
parent60abc337c79c108c62c28852e26a6eeb9afe8d40 (diff)
downloadefl-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.c8
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;