summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hirt <hirt.danny@gmail.com>2017-09-25 12:36:14 +0300
committerDaniel Hirt <hirt.danny@gmail.com>2017-09-25 12:51:49 +0300
commitb7b5d089296839b4851fb7f87f1ee7cb71fdcd8d (patch)
tree1e5f8a677e2bf7ac0f48c07bdd412a5c2aeb6c68
parent2dac4a4efe1957b49b8c132c4f4d9704c751b52a (diff)
Canvas text: use eina_value_set and not eina_value_pset
CID 1381327
-rw-r--r--src/lib/evas/canvas/evas_object_textblock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/evas_object_textblock.c b/src/lib/evas/canvas/evas_object_textblock.c
index 42e0ac14e2..ac39ea65d6 100644
--- a/src/lib/evas/canvas/evas_object_textblock.c
+++ b/src/lib/evas/canvas/evas_object_textblock.c
@@ -15912,7 +15912,7 @@ _resolve_async(Text_Promise_Ctx *td, Evas_Coord w, Evas_Coord h)
15912 Eina_Value v; 15912 Eina_Value v;
15913 Eina_Rectangle r = { 0, 0, w, h }; 15913 Eina_Rectangle r = { 0, 0, w, h };
15914 eina_value_setup(&v, EINA_VALUE_TYPE_RECTANGLE); 15914 eina_value_setup(&v, EINA_VALUE_TYPE_RECTANGLE);
15915 eina_value_pset(&v, &r); 15915 eina_value_set(&v, r);
15916 eina_promise_resolve(td->p, v); 15916 eina_promise_resolve(td->p, v);
15917 free(td); 15917 free(td);
15918} 15918}