From: Daniel Juyung Seo Date: Tue, 26 Oct 2010 00:36:06 +0000 (+0900) Subject: [elm_genlist] X-Git-Tag: sbs-working-i386~125 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3e9bb0b59781825c7c9eb46fee68734f759e1ff0;p=framework%2Fuifw%2Felementary.git [elm_genlist] + Getters should received const pointers. + (refer SVN 53874 patch) --- diff --git a/src/lib/Elementary.h.in b/src/lib/Elementary.h.in index 2aebcc1..10cc1e1 100755 --- a/src/lib/Elementary.h.in +++ b/src/lib/Elementary.h.in @@ -1261,7 +1261,7 @@ extern "C" { EAPI void elm_genlist_effect_set(const Evas_Object *obj, Eina_Bool emode); EAPI void elm_genlist_pinch_zoom_set(Evas_Object *obj, Eina_Bool emode); EAPI void elm_genlist_pinch_zoom_mode_set(Evas_Object *obj, Eina_Bool emode); - EAPI Eina_Bool elm_genlist_pinch_zoom_mode_get(Evas_Object *obj); + EAPI Eina_Bool elm_genlist_pinch_zoom_mode_get(const Evas_Object *obj); EINA_DEPRECATED EAPI void elm_genlist_queue_exception_set(const Evas_Object *obj, Eina_Bool emode); @@ -1312,7 +1312,7 @@ extern "C" { EAPI void elm_genlist_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v); EINA_DEPRECATED EAPI void elm_genlist_set_edit_mode(Evas_Object *obj, int emode, Elm_Genlist_Edit_Class *ec); EAPI void elm_genlist_edit_mode_set(Evas_Object *obj, int emode, Elm_Genlist_Edit_Class *ec); - EAPI int elm_genlist_item_expanded_depth_get(Elm_Genlist_Item *it); + EAPI int elm_genlist_item_expanded_depth_get(const Elm_Genlist_Item *it); EAPI void elm_genlist_edit_selected_items_del(Evas_Object *obj); EINA_DEPRECATED EAPI void elm_genlist_selected_items_del(Evas_Object *obj); EAPI Eina_List * elm_genlist_edit_selected_items_get(const Evas_Object *obj); diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c index f20efe2..9691ec3 100644 --- a/src/lib/elm_genlist.c +++ b/src/lib/elm_genlist.c @@ -4260,7 +4260,7 @@ elm_genlist_item_expanded_get(const Elm_Genlist_Item *it) * @ingroup Genlist */ EAPI int -elm_genlist_item_expanded_depth_get(Elm_Genlist_Item *it) +elm_genlist_item_expanded_depth_get(const Elm_Genlist_Item *it) { if (!it) return 0; return it->expanded_depth; @@ -5998,7 +5998,7 @@ elm_genlist_pinch_zoom_mode_set(Evas_Object *obj, Eina_Bool emode) * @ingroup Genlist */ EAPI Eina_Bool -elm_genlist_pinch_zoom_mode_get(Evas_Object *obj) +elm_genlist_pinch_zoom_mode_get(const Evas_Object *obj) { Widget_Data *wd = elm_widget_data_get(obj);