From 4073b172eeb245ec838b6d15245ab07786d7ea42 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Andre Date: Wed, 6 Jul 2016 11:43:11 +0900 Subject: [PATCH] elm_icon: Mark lookup_order functions as deprecated I can't mark the enum itself as deprecated as it's used in too many legacy APIs. Fixes T3910 (@jypark) --- src/lib/elementary/elm_icon_legacy.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/lib/elementary/elm_icon_legacy.h b/src/lib/elementary/elm_icon_legacy.h index f30d30efb7..fa19077600 100644 --- a/src/lib/elementary/elm_icon_legacy.h +++ b/src/lib/elementary/elm_icon_legacy.h @@ -2,6 +2,8 @@ * theme, FDO paths, or both? * * @ingroup Elm_Icon + * + * @deprecated Prefer using elm_config "icon_theme" instead. */ typedef enum { @@ -49,7 +51,7 @@ EAPI void elm_icon_thumb_set(Evas_Object *obj, const char *file, const char *gro * @ingroup Elm_Icon */ -EAPI void elm_icon_order_lookup_set(Evas_Object *obj EINA_UNUSED, Elm_Icon_Lookup_Order order EINA_UNUSED); +EAPI void elm_icon_order_lookup_set(Evas_Object *obj EINA_UNUSED, Elm_Icon_Lookup_Order order EINA_UNUSED) EINA_DEPRECATED; /** * @brief Get the icon lookup order. @@ -61,7 +63,7 @@ EAPI void elm_icon_order_lookup_set(Evas_Object *obj EINA_UNUSED, Elm_Icon_Looku * * @ingroup Elm_Icon */ -EAPI Elm_Icon_Lookup_Order elm_icon_order_lookup_get(const Evas_Object *obj EINA_UNUSED); +EAPI Elm_Icon_Lookup_Order elm_icon_order_lookup_get(const Evas_Object *obj EINA_UNUSED) EINA_DEPRECATED; /** * @brief Set the icon by icon standards names.