From: yoz Date: Fri, 27 May 2011 17:33:40 +0000 (+0000) Subject: elementary: fix the prototype of elm_index_active_get X-Git-Tag: REL_F_I9200_20110722_1~8^2~50^2~258 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7e0ecd064d5d7e46de6a784b5ace0c3972d9484e;p=framework%2Fuifw%2Felementary.git elementary: fix the prototype of elm_index_active_get git-svn-id: https://svn.enlightenment.org/svn/e/trunk/elementary@59757 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/Elementary.h.in b/src/lib/Elementary.h.in index 4d3764e..9e9d5f5 100644 --- a/src/lib/Elementary.h.in +++ b/src/lib/Elementary.h.in @@ -2225,7 +2225,7 @@ EAPI Elm_Genlist_Item *elm_genlist_item_sorted_insert(Evas_Object *obj, const El EAPI Evas_Object *elm_index_add(Evas_Object *parent) EINA_ARG_NONNULL(1); EAPI void elm_index_active_set(Evas_Object *obj, Eina_Bool active) EINA_ARG_NONNULL(1); - EAPI Eina_Bool elm_index_active_get(Evas_Object *obj) EINA_ARG_NONNULL(1); + EAPI Eina_Bool elm_index_active_get(const Evas_Object *obj) EINA_ARG_NONNULL(1); EAPI void elm_index_item_level_set(Evas_Object *obj, int level) EINA_ARG_NONNULL(1); EAPI int elm_index_item_level_get(const Evas_Object *obj) EINA_ARG_NONNULL(1); EAPI void *elm_index_item_selected_get(const Evas_Object *obj, int level) EINA_ARG_NONNULL(1); diff --git a/src/lib/elm_index.c b/src/lib/elm_index.c index 0eeaa96..774b375 100644 --- a/src/lib/elm_index.c +++ b/src/lib/elm_index.c @@ -637,8 +637,8 @@ elm_index_active_set(Evas_Object *obj, Eina_Bool active) * * @ingroup Index */ -EAPI void -elm_index_active_get(Evas_Object *obj) +EAPI Eina_Bool +elm_index_active_get(const Evas_Object *obj) { ELM_CHECK_WIDTYPE(obj, widtype) EINA_FALSE; Widget_Data *wd = elm_widget_data_get(obj);