Evas textblock: textblock_cursor_get's return should not be const.

This does not break API as it's more permissive and behavior doesn't change.

SVN revision: 61201
This commit is contained in:
Tom Hacohen 2011-07-10 12:18:42 +00:00
parent fc1d772c79
commit 70f9cf686f
2 changed files with 2 additions and 2 deletions

View File

@ -7326,7 +7326,7 @@ EAPI const char *evas_object_textblock_text_markup_get(const Ev
* @param obj the object. * @param obj the object.
* @return the obj's main cursor. * @return the obj's main cursor.
*/ */
EAPI const Evas_Textblock_Cursor *evas_object_textblock_cursor_get(const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE; EAPI Evas_Textblock_Cursor *evas_object_textblock_cursor_get(const Evas_Object *obj) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1) EINA_PURE;
/** /**
* Create a new cursor, associate it to the obj and init it to point * Create a new cursor, associate it to the obj and init it to point

View File

@ -5276,7 +5276,7 @@ _find_layout_item_match(const Evas_Textblock_Cursor *cur, Evas_Object_Textblock_
return previous_format; return previous_format;
} }
EAPI const Evas_Textblock_Cursor * EAPI Evas_Textblock_Cursor *
evas_object_textblock_cursor_get(const Evas_Object *obj) evas_object_textblock_cursor_get(const Evas_Object *obj)
{ {
TB_HEAD_RETURN(NULL); TB_HEAD_RETURN(NULL);