From af465880a778fc628e47faea8578e3f7cc74093b Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Sun, 15 Mar 2009 04:13:08 +0000 Subject: [PATCH] and fix the updates for vala SVN revision: 39487 --- src/lib/Elementary.h.in | 6 +++--- src/lib/elm_genlist.c | 4 ++-- src/lib/elm_list.c | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/lib/Elementary.h.in b/src/lib/Elementary.h.in index e63eb5a..c58a624 100644 --- a/src/lib/Elementary.h.in +++ b/src/lib/Elementary.h.in @@ -522,7 +522,7 @@ extern "C" { EAPI Elm_List_Item *elm_list_item_insert_after(Evas_Object *obj, Elm_List_Item *after, const char *label, Evas_Object *icon, Evas_Object *end, void (*func) (void *data, Evas_Object *obj, void *event_info), const void *data); EAPI void elm_list_go(Evas_Object *obj); EAPI void elm_list_multi_select_set(Evas_Object *obj, Evas_Bool multi); - EAPI void elm_list_horizontal_mode_set(Evas_Object *obj, Elementary_List_Mode mode); + EAPI void elm_list_horizontal_mode_set(Evas_Object *obj, Elm_List_Mode mode); EAPI const Eina_List *elm_list_items_get(const Evas_Object *obj); EAPI Elm_List_Item *elm_list_selected_item_get(const Evas_Object *obj); EAPI const Eina_List *elm_list_selected_items_get(const Evas_Object *obj); @@ -575,7 +575,7 @@ extern "C" { typedef char *(*GenlistItemLabelGetFunc) (const void *data, Evas_Object *obj, const char *part); typedef Evas_Object *(*GenlistItemIconGetFunc) (const void *data, Evas_Object *obj, const char *part); typedef Evas_Bool (*GenlistItemStateGetFunc) (const void *data, Evas_Object *obj, const char *part); - typedef void (*GenlistItemDelFunc) (const void *data, Evas_Object *obj); + typedef void (*GenlistItemDelFunc) (const void *data, Evas_Object *obj); struct _Elm_Genlist_Item_Class { @@ -613,7 +613,7 @@ extern "C" { EAPI void elm_genlist_item_del(Elm_Genlist_Item *item); EAPI const void *elm_genlist_item_data_get(const Elm_Genlist_Item *item); EAPI void elm_genlist_item_update(Elm_Genlist_Item *item); - EAPI void elm_genlist_horizontal_mode_set(Evas_Object *obj, Elementary_List_Mode mode); + EAPI void elm_genlist_horizontal_mode_set(Evas_Object *obj, Elm_List_Mode mode); /* smart callbacks called: * "clicked" - when the user double-clicked an item * "selected" - when the user selected an item diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c index f0bf164..0e361c0 100644 --- a/src/lib/elm_genlist.c +++ b/src/lib/elm_genlist.c @@ -19,7 +19,7 @@ struct _Widget_Data Eina_List *queue; Eina_List *selected; Elm_Genlist_Item *show_item; - Elementary_List_Mode mode; + Elm_List_Mode mode; Evas_Bool on_hold : 1; Evas_Bool multi : 1; Evas_Bool min_w : 1; @@ -1432,7 +1432,7 @@ elm_genlist_item_update(Elm_Genlist_Item *it) } EAPI void -elm_genlist_horizontal_mode_set(Evas_Object *obj, Elementary_List_Mode mode) +elm_genlist_horizontal_mode_set(Evas_Object *obj, Elm_List_Mode mode) { Widget_Data *wd = elm_widget_data_get(obj); if (wd->mode == mode) return; diff --git a/src/lib/elm_list.c b/src/lib/elm_list.c index fcc1dcf..6b4b7b9 100644 --- a/src/lib/elm_list.c +++ b/src/lib/elm_list.c @@ -8,7 +8,7 @@ struct _Widget_Data Evas_Object *scroller, *box; Eina_List *items; Eina_List *selected; - Elementary_List_Mode mode; + Elm_List_Mode mode; Evas_Coord minw[2], minh[2]; Evas_Bool on_hold : 1; Evas_Bool multi : 1; @@ -429,7 +429,7 @@ elm_list_multi_select_set(Evas_Object *obj, Evas_Bool multi) } EAPI void -elm_list_horizontal_mode_set(Evas_Object *obj, Elementary_List_Mode mode) +elm_list_horizontal_mode_set(Evas_Object *obj, Elm_List_Mode mode) { Widget_Data *wd = elm_widget_data_get(obj); if (wd->mode == mode) return; -- 2.7.4