summaryrefslogtreecommitdiff
path: root/src/lib/edje/edje_text.c
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-14 14:44:47 +0900
commit855c196ae803d35806164c35cf3d98bb00e43b48 (patch)
tree8199f8100e9c5c8ffc488e354664acfce5411234 /src/lib/edje/edje_text.c
parent5b28726e0a06cb713c7a2038f4eb67f7d6075358 (diff)
edje_text: Remove no-op pad_get
This call to pad_get is useless.
Diffstat (limited to 'src/lib/edje/edje_text.c')
-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 db98a60..ba75b8b 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,
247 font = font2; 247 font = font2;
248 } 248 }
249 } 249 }
250 {
251 int l, r, t, b;
252 250
253 evas_object_text_style_pad_get(ep->object, &l, &r, &t, &b); 251 sw = TO_INT(params->eval.w);
254 sw = TO_INT(params->eval.w); 252 sh = TO_INT(params->eval.h);
255 sh = TO_INT(params->eval.h);
256 }
257 253
258 if (params->type.text.size) 254 if (params->type.text.size)
259 size = params->type.text.size; 255 size = params->type.text.size;