edje_text: Remove no-op pad_get

This call to pad_get is useless.
This commit is contained in:
Jean-Philippe Andre 2014-05-13 11:24:43 +09:00
parent 5b28726e0a
commit 855c196ae8
1 changed files with 2 additions and 6 deletions

View File

@ -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;