Ui text: use eina_value_get and not eina_value_pget

CID 1381328
This commit is contained in:
Daniel Hirt 2017-09-25 12:39:42 +03:00
parent b7b5d08929
commit f5560cb511
1 changed files with 4 additions and 2 deletions

View File

@ -1117,8 +1117,10 @@ _on_layout_complete(void *data, const Eina_Value v)
{
Layout_Ctx *c = data;
Eina_Rectangle r;
eina_value_pget(&v, &r);
_layout_text_sizing_eval(c->obj, 1, 1);
if (eina_value_get(&v, &r))
{
_layout_text_sizing_eval(c->obj, r.w, r.h);
}
free(c);
return v;
}