Elm entry: force/and textblock get - remove the const.
authortasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 25 Jan 2012 07:35:04 +0000 (07:35 +0000)
committertasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 25 Jan 2012 07:35:04 +0000 (07:35 +0000)
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.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@67523 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/elm_entry.c
src/lib/elm_entry.h

index 9091a52..5cdb4a4 100644 (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);
index 29c1028..4cb3fec 100644 (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.