[elm_genlist]
authorDaniel Juyung Seo <juyung.seo@samsung.com>
Tue, 26 Oct 2010 00:36:06 +0000 (09:36 +0900)
committerDaniel Juyung Seo <juyung.seo@samsung.com>
Tue, 26 Oct 2010 00:36:06 +0000 (09:36 +0900)
  + Getters should received const pointers.
  + (refer SVN 53874 patch)

src/lib/Elementary.h.in
src/lib/elm_genlist.c

index 2aebcc1..10cc1e1 100755 (executable)
@@ -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);
index f20efe2..9691ec3 100644 (file)
@@ -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);