From: jypark Date: Fri, 9 Mar 2012 10:55:38 +0000 (+0000) Subject: remove deprecated function related with elm menu item X-Git-Tag: REL_F_I9500_20120323_1~17^2~138 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2ee820d981d2c95f67fcbadff16fe15cdb27f45d;p=framework%2Fuifw%2Felementary.git remove deprecated function related with elm menu item git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@69086 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/elm_menu.c b/src/lib/elm_menu.c index e46d65c..425a6cc 100644 --- a/src/lib/elm_menu.c +++ b/src/lib/elm_menu.c @@ -794,24 +794,6 @@ elm_menu_item_index_get(const Elm_Object_Item *it) } EAPI void -elm_menu_item_label_set(Elm_Object_Item *it, const char *label) -{ - _item_text_set_hook(it, NULL, label); -} - -EAPI const char * -elm_menu_item_label_get(const Elm_Object_Item *it) -{ - return _item_text_get_hook(it, NULL); -} - -EINA_DEPRECATED EAPI void -elm_menu_item_object_icon_name_set(Elm_Object_Item *it, const char *icon) -{ - elm_menu_item_icon_name_set(it, icon); -} - -EAPI void elm_menu_item_icon_name_set(Elm_Object_Item *it, const char *icon) { ELM_OBJ_ITEM_CHECK_OR_RETURN(it); @@ -834,18 +816,6 @@ elm_menu_item_icon_name_set(Elm_Object_Item *it, const char *icon) _sizing_eval(WIDGET(item)); } -EAPI void -elm_menu_item_disabled_set(Elm_Object_Item *it, Eina_Bool disabled) -{ - elm_object_item_disabled_set(it, disabled); -} - -EAPI Eina_Bool -elm_menu_item_disabled_get(const Elm_Object_Item *it) -{ - return elm_object_item_disabled_get(it); -} - EAPI Elm_Object_Item * elm_menu_item_separator_add(Evas_Object *obj, Elm_Object_Item *parent) { @@ -889,25 +859,6 @@ elm_menu_item_separator_add(Evas_Object *obj, Elm_Object_Item *parent) return (Elm_Object_Item *) subitem; } -EAPI Eina_Bool -elm_menu_item_object_content_set(Elm_Object_Item *it, Evas_Object *obj) -{ - _item_content_set_hook(it, NULL, obj); - return EINA_TRUE; -} - -EAPI Evas_Object * -elm_menu_item_object_content_get(const Elm_Object_Item *it) -{ - return _item_content_get_hook(it, NULL); -} - -EINA_DEPRECATED EAPI const char * -elm_menu_item_object_icon_name_get(const Elm_Object_Item *it) -{ - return elm_menu_item_icon_name_get(it); -} - EAPI const char * elm_menu_item_icon_name_get(const Elm_Object_Item *it) { @@ -922,18 +873,6 @@ elm_menu_item_is_separator(Elm_Object_Item *it) return ((Elm_Menu_Item *)it)->separator; } -EAPI void -elm_menu_item_del(Elm_Object_Item *it) -{ - elm_object_item_del(it); -} - -EAPI void -elm_menu_item_del_cb_set(Elm_Object_Item *it, Evas_Smart_Cb func) -{ - elm_object_item_del_cb_set(it, func); -} - EAPI void * elm_menu_item_data_get(const Elm_Object_Item *it) { @@ -1041,12 +980,6 @@ elm_menu_item_next_get(const Elm_Object_Item *it) return NULL; } -EINA_DEPRECATED EAPI Evas_Object * -elm_menu_item_menu_get(const Elm_Object_Item *it) -{ - return elm_object_item_widget_get(it); -} - EAPI Elm_Object_Item * elm_menu_first_item_get(const Evas_Object * obj) {