summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Hirt <hirt.danny@gmail.com>2017-07-20 19:18:20 +0300
committerDaniel Hirt <hirt.danny@gmail.com>2017-07-20 19:20:36 +0300
commit01a693412fa0209307e0a3f69031f25bb115168c (patch)
tree7a6d279e5b1235cfeea9e4a9d1b4efef434113c1 /src
parentcc924aacde7b14b967fe579023e1475810e66c83 (diff)
Evas textblock: add definition to 'cursor_equal'
This is a follow-up to c4ea25cbdbfb027d5119880ddcf0bf5ba6a5720b to fix legacy API. The definition was missing, so adding it.
Diffstat (limited to 'src')
-rw-r--r--src/lib/evas/canvas/evas_object_textblock.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/evas_object_textblock.c b/src/lib/evas/canvas/evas_object_textblock.c
index d2a7147be5..245a075376 100644
--- a/src/lib/evas/canvas/evas_object_textblock.c
+++ b/src/lib/evas/canvas/evas_object_textblock.c
@@ -9784,6 +9784,14 @@ _efl_canvas_text_efl_text_cursor_cursor_compare(Eo *eo_obj EINA_UNUSED, Efl_Canv
9784 return evas_textblock_cursor_compare(cur1, cur2); 9784 return evas_textblock_cursor_compare(cur1, cur2);
9785} 9785}
9786 9786
9787EAPI Eina_Bool
9788evas_textblock_cursor_equal(const Evas_Textblock_Cursor *cur1,
9789 const Evas_Textblock_Cursor *cur2)
9790{
9791 if (!cur1->obj) return EINA_FALSE;
9792 return efl_text_cursor_equal(cur1->obj, cur1, cur2);
9793}
9794
9787EOLIAN static Eina_Bool 9795EOLIAN static Eina_Bool
9788_efl_canvas_text_efl_text_cursor_cursor_equal(Eo *eo_obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED, const Efl_Text_Cursor_Cursor *cur, const Efl_Text_Cursor_Cursor *cur2) 9796_efl_canvas_text_efl_text_cursor_cursor_equal(Eo *eo_obj EINA_UNUSED, Efl_Canvas_Text_Data *o EINA_UNUSED, const Efl_Text_Cursor_Cursor *cur, const Efl_Text_Cursor_Cursor *cur2)
9789{ 9797{