match the const changes to edje in elm entry. leaks waiting to happen

in apps!



SVN revision: 66746
This commit is contained in:
Carsten Haitzler 2012-01-02 11:43:25 +00:00
parent 75c5c5f566
commit ce1585714d
2 changed files with 3 additions and 3 deletions

View File

@ -2792,7 +2792,7 @@ elm_entry_cursor_is_visible_format_get(const Evas_Object *obj)
return edje_object_part_text_cursor_is_visible_format_get(wd->ent, "elm.text", EDJE_CURSOR_MAIN);
}
EAPI const char *
EAPI char *
elm_entry_cursor_content_get(const Evas_Object *obj)
{
ELM_CHECK_WIDTYPE(obj, widtype) NULL;

View File

@ -668,12 +668,12 @@ EAPI Eina_Bool elm_entry_cursor_is_visible_format_get(const Evas_Object
* This function returns a string with the utf8 character stored at the
* current cursor position.
* Only the text is returned, any format that may exist will not be part
* of the return value.
* of the return value. You must free the string when done with free().
*
* @param obj The entry object
* @return The text pointed by the cursors.
*/
EAPI const char *elm_entry_cursor_content_get(const Evas_Object *obj);
EAPI char *elm_entry_cursor_content_get(const Evas_Object *obj);
/**
* This function returns the geometry of the cursor.