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:
573be7b
)
Ui text: fix test style applying after cursor port
author
Daniel Hirt
<hirt.danny@gmail.com>
Thu, 8 Jun 2017 11:31:42 +0000
(14:31 +0300)
committer
Daniel Hirt
<hirt.danny@gmail.com>
Sun, 11 Jun 2017 21:09:58 +0000
(
00:09
+0300)
src/bin/elementary/test_efl_ui_text.c
patch
|
blob
|
history
diff --git
a/src/bin/elementary/test_efl_ui_text.c
b/src/bin/elementary/test_efl_ui_text.c
index
79527a3
..
ba8870e
100644
(file)
--- a/
src/bin/elementary/test_efl_ui_text.c
+++ b/
src/bin/elementary/test_efl_ui_text.c
@@
-11,13
+11,16
@@
_apply_style(Eo *obj, size_t start_pos, size_t end_pos, const char *style)
{
Efl_Canvas_Text_Cursor *start, *end;
- start = efl_text_cursor_
get
(obj);
- end = efl_text_cursor_
get
(obj);
+ start = efl_text_cursor_
new
(obj);
+ end = efl_text_cursor_
new
(obj);
efl_text_cursor_position_set(obj, start, start_pos);
efl_text_cursor_position_set(obj, end, end_pos);
efl_canvas_text_annotation_insert(obj, start, end, style);
+
+ efl_text_cursor_free(obj, start);
+ efl_text_cursor_free(obj, end);
}
static Eo *