From: Enlightenment S. <no-...@en...> - 2011-05-27 17:33:46
|
Log: elementary: fix the prototype of elm_index_active_get Author: yoz Date: 2011-05-27 10:33:40 -0700 (Fri, 27 May 2011) New Revision: 59757 Trac: http://trac.enlightenment.org/e/changeset/59757 Modified: trunk/elementary/src/lib/Elementary.h.in trunk/elementary/src/lib/elm_index.c Modified: trunk/elementary/src/lib/Elementary.h.in =================================================================== --- trunk/elementary/src/lib/Elementary.h.in 2011-05-27 17:22:02 UTC (rev 59756) +++ trunk/elementary/src/lib/Elementary.h.in 2011-05-27 17:33:40 UTC (rev 59757) @@ -2225,7 +2225,7 @@ 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); Modified: trunk/elementary/src/lib/elm_index.c =================================================================== --- trunk/elementary/src/lib/elm_index.c 2011-05-27 17:22:02 UTC (rev 59756) +++ trunk/elementary/src/lib/elm_index.c 2011-05-27 17:33:40 UTC (rev 59757) @@ -637,8 +637,8 @@ * * @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); |