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)
This commit is contained in:
Jean-Philippe Andre 2016-07-06 11:43:11 +09:00
parent edccf44150
commit 4073b172ee
1 changed files with 4 additions and 2 deletions

View File

@ -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.