From: tasn Date: Sun, 10 Jul 2011 12:18:42 +0000 (+0000) Subject: Evas textblock: textblock_cursor_get's return should not be const. X-Git-Tag: 2.0_alpha~240^2~336 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=150b185e9b5a3a8f15fb5d89c9b5eefd1de24ba9;p=framework%2Fuifw%2Fevas.git 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. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61201 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/Evas.h b/src/lib/Evas.h index 6cab8af..223e674 100644 --- a/src/lib/Evas.h +++ b/src/lib/Evas.h @@ -7326,7 +7326,7 @@ EAPI const char *evas_object_textblock_text_markup_get(const Ev * @param obj the object. * @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 diff --git a/src/lib/canvas/evas_object_textblock.c b/src/lib/canvas/evas_object_textblock.c index 7d63ad6..449973d 100644 --- a/src/lib/canvas/evas_object_textblock.c +++ b/src/lib/canvas/evas_object_textblock.c @@ -5276,7 +5276,7 @@ _find_layout_item_match(const Evas_Textblock_Cursor *cur, Evas_Object_Textblock_ return previous_format; } -EAPI const Evas_Textblock_Cursor * +EAPI Evas_Textblock_Cursor * evas_object_textblock_cursor_get(const Evas_Object *obj) { TB_HEAD_RETURN(NULL);