diff options
Diffstat (limited to 'src/lib/elementary/efl_ui_image_zoomable.c')
-rw-r--r-- | src/lib/elementary/efl_ui_image_zoomable.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/elementary/efl_ui_image_zoomable.c b/src/lib/elementary/efl_ui_image_zoomable.c index 299c9c39a9..79b9be0221 100644 --- a/src/lib/elementary/efl_ui_image_zoomable.c +++ b/src/lib/elementary/efl_ui_image_zoomable.c @@ -2815,6 +2815,7 @@ _icon_standard_set(Evas_Object *obj, const char *name, Eina_Bool resize) return EINA_FALSE; } +#ifdef HAVE_EFREET static Eina_Bool _icon_freedesktop_set(Evas_Object *obj, const char *name, int size) { @@ -2862,6 +2863,7 @@ _icon_freedesktop_set(Evas_Object *obj, const char *name, int size) } return EINA_FALSE; } +#endif static inline int _icon_size_min_get(Evas_Object *image) @@ -2905,6 +2907,7 @@ _internal_efl_ui_image_zoomable_icon_set(Evas_Object *obj, const char *name, Ein { ret = _icon_standard_set(obj, name, resize); if (ret && fdo) *fdo = EINA_FALSE; +#ifdef HAVE_EFREET if (!ret) { ret = _icon_freedesktop_set(obj, name, _icon_size_min_get(obj)); @@ -2915,6 +2918,7 @@ _internal_efl_ui_image_zoomable_icon_set(Evas_Object *obj, const char *name, Ein { ret = _icon_freedesktop_set(obj, name, _icon_size_min_get(obj)); if (ret && fdo) *fdo = EINA_TRUE; +#endif } if (ret) |