From d699398e0fb87014a347235bc3af1cb186f77c6a Mon Sep 17 00:00:00 2001 From: Hyoyoung Chang Date: Fri, 16 Mar 2012 18:37:39 +0900 Subject: [PATCH] [genlist] remove item sanity checking Change-Id: I78068033b866913f316aa82f7c48e238c4cf7d5f --- src/lib/elm_genlist.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c index 2d101c9..46c9d79 100644 --- a/src/lib/elm_genlist.c +++ b/src/lib/elm_genlist.c @@ -4008,7 +4008,6 @@ _item_text_hook(Elm_Gen_Item *it, const char *part) static void _item_disable_hook(Elm_Object_Item *it) { - ELM_OBJ_ITEM_CHECK_OR_RETURN(it); Eina_List *l; Evas_Object *obj; Elm_Gen_Item *_it = (Elm_Gen_Item *)it; @@ -4040,7 +4039,6 @@ _item_disable_hook(Elm_Object_Item *it) static Eina_Bool _item_del_pre_hook(Elm_Object_Item *it) { - ELM_OBJ_ITEM_CHECK_OR_RETURN(it, EINA_FALSE); Elm_Gen_Item *_it = (Elm_Gen_Item *)it; if ((_it->relcount > 0) || (_it->walking > 0)) @@ -5610,7 +5608,6 @@ elm_genlist_item_cursor_set(Elm_Object_Item *it, EAPI const char * elm_genlist_item_cursor_get(const Elm_Object_Item *it) { - ELM_OBJ_ITEM_CHECK_OR_RETURN(it, NULL); return elm_widget_item_cursor_get(it); } @@ -5632,14 +5629,12 @@ EAPI void elm_genlist_item_cursor_style_set(Elm_Object_Item *it, const char *style) { - ELM_OBJ_ITEM_CHECK_OR_RETURN(it); elm_widget_item_cursor_style_set(it, style); } EAPI const char * elm_genlist_item_cursor_style_get(const Elm_Object_Item *it) { - ELM_OBJ_ITEM_CHECK_OR_RETURN(it, NULL); return elm_widget_item_cursor_style_get(it); } @@ -5647,14 +5642,12 @@ EAPI void elm_genlist_item_cursor_engine_only_set(Elm_Object_Item *it, Eina_Bool engine_only) { - ELM_OBJ_ITEM_CHECK_OR_RETURN(it); elm_widget_item_cursor_engine_only_set(it, engine_only); } EAPI Eina_Bool elm_genlist_item_cursor_engine_only_get(const Elm_Object_Item *it) { - ELM_OBJ_ITEM_CHECK_OR_RETURN(it, EINA_FALSE); return elm_widget_item_cursor_engine_only_get(it); } -- 2.7.4