jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=4073b172eeb245ec838b6d15245ab07786d7ea42

commit 4073b172eeb245ec838b6d15245ab07786d7ea42
Author: Jean-Philippe Andre <[email protected]>
Date:   Wed Jul 6 11:43:11 2016 +0900

    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 f30d30e..fa19077 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.

-- 


Reply via email to