From 0ce00e36395442b5f61eb63a6445fa9b610c93da Mon Sep 17 00:00:00 2001 From: Prince Kr Dubey Date: Fri, 27 May 2011 13:53:39 +0530 Subject: [PATCH] [SegmentControl] Parameter of an API elm_segment_control_item_label_get is changed from Evas_Object to const Evas_object. Change-Id: I6e7d628402963bf9c32649a41bb7ef34831d9bb0 --- src/lib/Elementary.h.in | 2 +- src/lib/elm_segment_control.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/Elementary.h.in b/src/lib/Elementary.h.in index ad48de1..91e7585 100644 --- a/src/lib/Elementary.h.in +++ b/src/lib/Elementary.h.in @@ -3447,7 +3447,7 @@ extern "C" { EAPI void elm_segment_control_item_del_at(Evas_Object *obj, int index) EINA_ARG_NONNULL(1); EAPI int elm_segment_control_item_count_get(const Evas_Object *obj) EINA_ARG_NONNULL(1); EAPI Elm_Segment_Item *elm_segment_control_item_get(const Evas_Object *obj, int index) EINA_ARG_NONNULL(1); - EAPI const char *elm_segment_control_item_label_get(Evas_Object *obj, int index) EINA_ARG_NONNULL(1); + EAPI const char *elm_segment_control_item_label_get(const Evas_Object *obj, int index) EINA_ARG_NONNULL(1); EAPI void elm_segment_control_item_label_set(Elm_Segment_Item* it, const char* label) EINA_ARG_NONNULL(1); EAPI Evas_Object *elm_segment_control_item_icon_get(const Evas_Object *obj, int index) EINA_ARG_NONNULL(1); EAPI void elm_segment_control_item_icon_set(Elm_Segment_Item *it, Evas_Object *icon) EINA_ARG_NONNULL(1); diff --git a/src/lib/elm_segment_control.c b/src/lib/elm_segment_control.c index c13c86d..9f7dc29 100644 --- a/src/lib/elm_segment_control.c +++ b/src/lib/elm_segment_control.c @@ -652,7 +652,7 @@ elm_segment_control_item_del_at(Evas_Object *obj, int index) * @ingroup SegmentControl */ EAPI const char* -elm_segment_control_item_label_get(Evas_Object *obj, int index) +elm_segment_control_item_label_get(const Evas_Object *obj, int index) { ELM_CHECK_WIDTYPE(obj, widtype) NULL; Elm_Segment_Item *it; -- 2.7.4