Evas textblock: textblock_cursor_get's return should not be const.
authortasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 10 Jul 2011 12:18:42 +0000 (12:18 +0000)
committertasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 10 Jul 2011 12:18:42 +0000 (12:18 +0000)
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

src/lib/Evas.h
src/lib/canvas/evas_object_textblock.c

index 6cab8af..223e674 100644 (file)
@@ -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
index 7d63ad6..449973d 100644 (file)
@@ -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);