From ec8aaf89e767ebc63c1293524eaf37dc80da15f9 Mon Sep 17 00:00:00 2001 From: tasn Date: Sun, 27 Feb 2011 11:44:01 +0000 Subject: [PATCH] Elementary entry: Removed const from obj in *_entry_pos_set. Fix the the previous commit, I can't believe I missed that one. Patch by Jihoon Kim. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@57376 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/Elementary.h.in | 4 ++-- src/lib/elc_scrolled_entry.c | 2 +- src/lib/elm_entry.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib/Elementary.h.in b/src/lib/Elementary.h.in index dff0fd8..6161653 100644 --- a/src/lib/Elementary.h.in +++ b/src/lib/Elementary.h.in @@ -1224,7 +1224,7 @@ extern "C" { EAPI Eina_Bool elm_entry_cursor_is_visible_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1); EAPI const char *elm_entry_cursor_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1); EAPI Eina_Bool elm_entry_cursor_geometry_get(const Evas_Object *obj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h) EINA_ARG_NONNULL(1); - EAPI void elm_entry_cursor_pos_set(const Evas_Object *obj, int pos) EINA_ARG_NONNULL(1); + EAPI void elm_entry_cursor_pos_set(Evas_Object *obj, int pos) EINA_ARG_NONNULL(1); EAPI int elm_entry_cursor_pos_get(const Evas_Object *obj) EINA_ARG_NONNULL(1); EAPI void elm_entry_selection_cut(Evas_Object *obj) EINA_ARG_NONNULL(1); EAPI void elm_entry_selection_copy(Evas_Object *obj) EINA_ARG_NONNULL(1); @@ -2244,7 +2244,7 @@ extern "C" { EAPI Eina_Bool elm_scrolled_entry_cursor_is_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1); EAPI Eina_Bool elm_scrolled_entry_cursor_is_visible_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1); EAPI const char *elm_scrolled_entry_cursor_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1); - EAPI void elm_scrolled_entry_cursor_pos_set(const Evas_Object *obj, int pos) EINA_ARG_NONNULL(1); + EAPI void elm_scrolled_entry_cursor_pos_set(Evas_Object *obj, int pos) EINA_ARG_NONNULL(1); EAPI int elm_scrolled_entry_cursor_pos_get(const Evas_Object *obj) EINA_ARG_NONNULL(1); EAPI void elm_scrolled_entry_selection_cut(Evas_Object *obj) EINA_ARG_NONNULL(1); EAPI void elm_scrolled_entry_selection_copy(Evas_Object *obj) EINA_ARG_NONNULL(1); diff --git a/src/lib/elc_scrolled_entry.c b/src/lib/elc_scrolled_entry.c index 983eb23..f8bbc74 100644 --- a/src/lib/elc_scrolled_entry.c +++ b/src/lib/elc_scrolled_entry.c @@ -1159,7 +1159,7 @@ elm_scrolled_entry_cursor_content_get(const Evas_Object *obj) * @ingroup Scrolled_Entry */ EAPI void -elm_scrolled_entry_cursor_pos_set(const Evas_Object *obj, int pos) +elm_scrolled_entry_cursor_pos_set(Evas_Object *obj, int pos) { ELM_CHECK_WIDTYPE(obj, widtype); Widget_Data *wd = elm_widget_data_get(obj); diff --git a/src/lib/elm_entry.c b/src/lib/elm_entry.c index d56483f..dfab9b4 100644 --- a/src/lib/elm_entry.c +++ b/src/lib/elm_entry.c @@ -2220,7 +2220,7 @@ elm_entry_cursor_content_get(const Evas_Object *obj) * @ingroup Entry */ EAPI void -elm_entry_cursor_pos_set(const Evas_Object *obj, int pos) +elm_entry_cursor_pos_set(Evas_Object *obj, int pos) { ELM_CHECK_WIDTYPE(obj, widtype); Widget_Data *wd = elm_widget_data_get(obj); -- 2.7.4