Elm entry: force/and textblock get - remove the const.

This conforms that what discussed at the ML. I did it so people won't abuse
the API, but I guess people don't agree with me.

SVN revision: 67523
This commit is contained in:
Tom Hacohen 2012-01-25 07:35:04 +00:00
parent 2bd97198e9
commit 59cf09b81c
2 changed files with 5 additions and 5 deletions

View File

@ -2565,8 +2565,8 @@ elm_entry_is_empty(const Evas_Object *obj)
return !ret;
}
EAPI const Evas_Object *
elm_entry_textblock_get(const Evas_Object *obj)
EAPI Evas_Object *
elm_entry_textblock_get(Evas_Object *obj)
{
ELM_CHECK_WIDTYPE(obj, widtype) NULL;
Widget_Data *wd = elm_widget_data_get(obj);
@ -2576,7 +2576,7 @@ elm_entry_textblock_get(const Evas_Object *obj)
}
EAPI void
elm_entry_calc_force(const Evas_Object *obj)
elm_entry_calc_force(Evas_Object *obj)
{
ELM_CHECK_WIDTYPE(obj, widtype);
Widget_Data *wd = elm_widget_data_get(obj);

View File

@ -477,7 +477,7 @@ EAPI const char *elm_entry_selection_get(const Evas_Object *obj);
* @param obj The entry object
* @return The textblock object.
*/
EAPI const Evas_Object *elm_entry_textblock_get(const Evas_Object *obj);
EAPI Evas_Object * elm_entry_textblock_get(Evas_Object *obj);
/**
* Forces calculation of the entry size and text layouting.
@ -489,7 +489,7 @@ EAPI const Evas_Object *elm_entry_textblock_get(const Evas_Object *obj);
*
* @see elm_entry_textblock_get()
*/
EAPI void elm_entry_calc_force(const Evas_Object *obj);
EAPI void elm_entry_calc_force(Evas_Object *obj);
/**
* Inserts the given text into the entry at the current cursor position.