summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2020-04-11 21:15:07 +0200
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2020-04-21 10:44:31 +0200
commitad4a89d6c496a22832cc106df3eba41789250d8d (patch)
tree528ea653bbb30b28f087730b89ee4dd083fdf988
parent805aad7f7d7658642d1057efd58aaa457991c881 (diff)
elementary: fix string definitiondevs/bu5hm4n/Test
eolian is note made to have ptr(char) be the same as string. Differential Revision: https://phab.enlightenment.org/D11740
-rw-r--r--src/lib/elementary/efl_access_text.c2
-rw-r--r--src/lib/elementary/efl_access_text.eo2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elementary/efl_access_text.c b/src/lib/elementary/efl_access_text.c
index 6f35f71471..1db4827c0d 100644
--- a/src/lib/elementary/efl_access_text.c
+++ b/src/lib/elementary/efl_access_text.c
@@ -18,7 +18,7 @@ EAPI elm_atspi_text_text_attribute_free(Efl_Access_Text_Attribute *attr)
18EAPI void 18EAPI void
19elm_atspi_text_text_range_free(Efl_Access_Text_Range *range) 19elm_atspi_text_text_range_free(Efl_Access_Text_Range *range)
20{ 20{
21 free(range->content); 21 free((char*)range->content);
22 free(range); 22 free(range);
23} 23}
24 24
diff --git a/src/lib/elementary/efl_access_text.eo b/src/lib/elementary/efl_access_text.eo
index fe76de5b6e..95cc367c3c 100644
--- a/src/lib/elementary/efl_access_text.eo
+++ b/src/lib/elementary/efl_access_text.eo
@@ -31,7 +31,7 @@ struct @beta @free(elm_atspi_text_text_range_free) Efl.Access.Text_Range
31 [[Text range]] 31 [[Text range]]
32 start_offset: int; [[Range start offset]] 32 start_offset: int; [[Range start offset]]
33 end_offset : int; [[Range end offset]] 33 end_offset : int; [[Range end offset]]
34 content: ptr(char); [[Range content]] 34 content: string; [[Range content]]
35} 35}
36 36
37struct @beta Efl.Access.Text_Change_Info 37struct @beta Efl.Access.Text_Change_Info