summaryrefslogtreecommitdiff
path: root/src/lib/elementary
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 16:19:36 +0200
commit906c60f0c00f8a3c0b5edfb874f080660244b453 (patch)
tree43b2f515fc62fbea0c75a4621104af2cb077db69 /src/lib/elementary
parent639b6d6ae3cb7b36b7a30c7611826ca85339e472 (diff)
elementary: fix string definition
eolian is note made to have ptr(char) be the same as string. Differential Revision: https://phab.enlightenment.org/D11740
Diffstat (limited to 'src/lib/elementary')
-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