summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2012-01-02 11:43:25 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-01-02 11:43:25 +0000
commit4d9043a12127ea7183afe7d7656f2c175acbed3a (patch)
tree92984e032728a96c6fdf5625a9f781d028d1c9a0 /src
parentf25b4a844124c2d4a218597b5758c4f18c952a95 (diff)
match the const changes to edje in elm entry. leaks waiting to happen
in apps! SVN revision: 66746
Diffstat (limited to 'src')
-rw-r--r--src/lib/elm_entry.c2
-rw-r--r--src/lib/elm_entry.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/elm_entry.c b/src/lib/elm_entry.c
index 886678fde..595166b7f 100644
--- a/src/lib/elm_entry.c
+++ b/src/lib/elm_entry.c
@@ -2792,7 +2792,7 @@ elm_entry_cursor_is_visible_format_get(const Evas_Object *obj)
2792 return edje_object_part_text_cursor_is_visible_format_get(wd->ent, "elm.text", EDJE_CURSOR_MAIN); 2792 return edje_object_part_text_cursor_is_visible_format_get(wd->ent, "elm.text", EDJE_CURSOR_MAIN);
2793} 2793}
2794 2794
2795EAPI const char * 2795EAPI char *
2796elm_entry_cursor_content_get(const Evas_Object *obj) 2796elm_entry_cursor_content_get(const Evas_Object *obj)
2797{ 2797{
2798 ELM_CHECK_WIDTYPE(obj, widtype) NULL; 2798 ELM_CHECK_WIDTYPE(obj, widtype) NULL;
diff --git a/src/lib/elm_entry.h b/src/lib/elm_entry.h
index 5bd8290d7..6c814a9fc 100644
--- a/src/lib/elm_entry.h
+++ b/src/lib/elm_entry.h
@@ -668,12 +668,12 @@ EAPI Eina_Bool elm_entry_cursor_is_visible_format_get(const Evas_Object
668 * This function returns a string with the utf8 character stored at the 668 * This function returns a string with the utf8 character stored at the
669 * current cursor position. 669 * current cursor position.
670 * Only the text is returned, any format that may exist will not be part 670 * Only the text is returned, any format that may exist will not be part
671 * of the return value. 671 * of the return value. You must free the string when done with free().
672 * 672 *
673 * @param obj The entry object 673 * @param obj The entry object
674 * @return The text pointed by the cursors. 674 * @return The text pointed by the cursors.
675 */ 675 */
676EAPI const char *elm_entry_cursor_content_get(const Evas_Object *obj); 676EAPI char *elm_entry_cursor_content_get(const Evas_Object *obj);
677 677
678/** 678/**
679 * This function returns the geometry of the cursor. 679 * This function returns the geometry of the cursor.