projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b28726
)
edje_text: Remove no-op pad_get
author
Jean-Philippe Andre
<jp.andre@samsung.com>
Tue, 13 May 2014 02:24:43 +0000
(11:24 +0900)
committer
Jean-Philippe Andre
<jp.andre@samsung.com>
Wed, 14 May 2014 05:44:47 +0000
(14:44 +0900)
This call to pad_get is useless.
src/lib/edje/edje_text.c
patch
|
blob
|
history
diff --git
a/src/lib/edje/edje_text.c
b/src/lib/edje/edje_text.c
index db98a60ac081faefee213c8ceb06d870822f1fb9..ba75b8beacd93ba7379710ccb394b700dacfffad 100644
(file)
--- 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;