summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2020-03-09 10:03:37 +0100
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2020-03-09 13:13:00 +0100
commitb2ab297defe8d174ec1bc1f272d8ddb7bc95a99f (patch)
treeb6dc1aced7bc6ef7589f8f2adeaae7db83f5a219
parentdc58262158b315e9f4bfe76b7555150e06c3e180 (diff)
eina: fix define of Eina_Content
there is no need to declare that const.
Diffstat (limited to '')
-rw-r--r--src/lib/eina/eina_abstract_content.c2
-rw-r--r--src/lib/eina/eina_abstract_content.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/eina/eina_abstract_content.c b/src/lib/eina/eina_abstract_content.c
index 4b74256d25..bd74a518a4 100644
--- a/src/lib/eina/eina_abstract_content.c
+++ b/src/lib/eina/eina_abstract_content.c
@@ -184,7 +184,7 @@ eina_content_type_get(Eina_Content *content)
184 return content->type; 184 return content->type;
185} 185}
186 186
187EAPI const Eina_Slice 187EAPI Eina_Slice
188eina_content_data_get(Eina_Content *content) 188eina_content_data_get(Eina_Content *content)
189{ 189{
190 return eina_rw_slice_slice_get(content->data); 190 return eina_rw_slice_slice_get(content->data);
diff --git a/src/lib/eina/eina_abstract_content.h b/src/lib/eina/eina_abstract_content.h
index 9b723d553f..1d88e868a3 100644
--- a/src/lib/eina/eina_abstract_content.h
+++ b/src/lib/eina/eina_abstract_content.h
@@ -63,7 +63,7 @@ EAPI const char* eina_content_type_get(Eina_Content *content);
63 * 63 *
64 * @return An Eina_Slice containing the data. Do not free. 64 * @return An Eina_Slice containing the data. Do not free.
65 */ 65 */
66EAPI const Eina_Slice eina_content_data_get(Eina_Content *content); 66EAPI Eina_Slice eina_content_data_get(Eina_Content *content);
67 67
68/** 68/**
69 * Create a new content object, with the provided data and type. 69 * Create a new content object, with the provided data and type.