From: jypark Date: Thu, 15 Mar 2012 08:38:49 +0000 (+0000) Subject: remove deprecated code related with X-Git-Tag: REL_F_I9500_20120323_1~17^2~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fad583370bdd085f57d23b33b268a327e7094d0e;p=framework%2Fuifw%2Felementary.git remove deprecated code related with elm_genlist_item_display_only_get/set function git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@69359 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c index efe7e71..d16fa53 100644 --- a/src/lib/elm_genlist.c +++ b/src/lib/elm_genlist.c @@ -4821,35 +4821,6 @@ elm_genlist_item_expanded_depth_get(const Elm_Object_Item *it) return ((Elm_Gen_Item *)it)->item->expanded_depth; } -EINA_DEPRECATED EAPI void -elm_genlist_item_display_only_set(Elm_Object_Item *it, - Eina_Bool display_only) -{ - ELM_OBJ_ITEM_CHECK_OR_RETURN(it); - display_only = !!display_only; - - if (display_only) - elm_genlist_item_select_mode_set(it, ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY); - else - { - Elm_Object_Select_Mode oldmode = elm_genlist_item_select_mode_get(it); - if (oldmode == ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY) - elm_genlist_item_select_mode_set(it, ELM_OBJECT_SELECT_MODE_DEFAULT); - } -} - -EINA_DEPRECATED EAPI Eina_Bool -elm_genlist_item_display_only_get(const Elm_Object_Item *it) -{ - ELM_OBJ_ITEM_CHECK_OR_RETURN(it, EINA_FALSE); - Elm_Gen_Item *_it = (Elm_Gen_Item *)it; - if (_it->generation < _it->wd->generation) return EINA_FALSE; - Elm_Object_Select_Mode oldmode = elm_genlist_item_select_mode_get(it); - if (oldmode == ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY) - return EINA_TRUE; - return EINA_FALSE; -} - static Eina_Bool _elm_genlist_item_compute_coordinates(Elm_Object_Item *it, Elm_Genlist_Item_Scrollto_Type type,