summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2020-04-16 11:12:50 +0200
committerStefan Schmidt <s.schmidt@samsung.com>2020-04-16 11:12:50 +0200
commit189bb381d62f15601b979df2b47a8aec7c3a409f (patch)
treeb07bcf10d50416a5d52c98821426af6165897b21
parent4ea455b1e52963bcb7c1c284e0358fbf8120fe25 (diff)
Revert "evas: text_cursor: check return value and print error"
This reverts commit c6df676a70b0e66f67d053982a46b030805b956b. Thsi is failing the evas testsuite. My bad in not checking this locally before commiting.
-rw-r--r--src/lib/evas/canvas/efl_text_cursor_object.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/evas/canvas/efl_text_cursor_object.c b/src/lib/evas/canvas/efl_text_cursor_object.c
index e659d95d63..e15f12898f 100644
--- a/src/lib/evas/canvas/efl_text_cursor_object.c
+++ b/src/lib/evas/canvas/efl_text_cursor_object.c
@@ -75,10 +75,8 @@ EOLIAN static Eina_Rect
75_efl_text_cursor_object_cursor_geometry_get(const Eo *obj EINA_UNUSED, Efl_Text_Cursor_Object_Data *pd, Efl_Text_Cursor_Type ctype) 75_efl_text_cursor_object_cursor_geometry_get(const Eo *obj EINA_UNUSED, Efl_Text_Cursor_Object_Data *pd, Efl_Text_Cursor_Type ctype)
76{ 76{
77 Eina_Rect rc = {0}; 77 Eina_Rect rc = {0};
78 Eina_Bool b_ret;
79 Evas_Textblock_Cursor_Type cursor_type = (ctype == EFL_TEXT_CURSOR_TYPE_BEFORE) ? EVAS_TEXTBLOCK_CURSOR_BEFORE : EVAS_TEXTBLOCK_CURSOR_UNDER; 78 Evas_Textblock_Cursor_Type cursor_type = (ctype == EFL_TEXT_CURSOR_TYPE_BEFORE) ? EVAS_TEXTBLOCK_CURSOR_BEFORE : EVAS_TEXTBLOCK_CURSOR_UNDER;
80 b_ret = evas_textblock_cursor_geometry_bidi_get(pd->handle, &rc.x, &rc.y, &rc.w, &rc.h, NULL, NULL, NULL, NULL, cursor_type); 79 evas_textblock_cursor_geometry_bidi_get(pd->handle, &rc.x, &rc.y, &rc.w, &rc.h, NULL, NULL, NULL, NULL, cursor_type);
81 EINA_SAFETY_ON_FALSE_RETURN_VAL(b_ret, EINA_RECT_EMPTY());
82 return rc; 80 return rc;
83} 81}
84 82