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:
b7b5d08
)
Ui text: use eina_value_get and not eina_value_pget
author
Daniel Hirt
<hirt.danny@gmail.com>
Mon, 25 Sep 2017 09:39:42 +0000
(12:39 +0300)
committer
Daniel Hirt
<hirt.danny@gmail.com>
Mon, 25 Sep 2017 09:51:49 +0000
(12:51 +0300)
CID 1381328
src/lib/elementary/efl_ui_text.c
patch
|
blob
|
history
diff --git
a/src/lib/elementary/efl_ui_text.c
b/src/lib/elementary/efl_ui_text.c
index
2f1232a
..
eca73c3
100644
(file)
--- a/
src/lib/elementary/efl_ui_text.c
+++ b/
src/lib/elementary/efl_ui_text.c
@@
-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;
}