Hello, EFL developers.
Without installing ethumb, when I build elementary, there is build error.
This patch is for fixing it.
Would you please apply this patch?
Index: elm_icon.c
===================================================================
--- elm_icon.c (리비전 60687)
+++ elm_icon.c (작업 사본)
@@ -99,6 +99,14 @@ _path_is_absolute(const char *path)
}
#endif
+static inline int
+_icon_size_min_get(Evas_Object *icon)
+{
+ int size;
+ _els_smart_icon_size_get(icon, &size, NULL);
+ return (size < 32) ? 32 : size;
+}
+
#ifdef HAVE_ELEMENTARY_ETHUMB
static void
_icon_thumb_stop(Widget_Data *wd, void *ethumbd)
@@ -283,14 +291,6 @@ _icon_thumb_exists(Ethumb_Client *client __UNUSED_
}
}
-static inline int
-_icon_size_min_get(Evas_Object *icon)
-{
- int size;
- _els_smart_icon_size_get(icon, &size, NULL);
- return (size < 32) ? 32 : size;
-}
-
static void
_icon_thumb_apply(Widget_Data *wd)
{
@@ -709,8 +709,10 @@ _elm_icon_standard_resize(void *data,
if (!_elm_icon_standard_set(wd, obj, wd->stdicon, &fdo) || (!fdo))
evas_object_event_callback_del_full(obj, EVAS_CALLBACK_RESIZE,
_elm_icon_standard_resize, wd);
+#ifdef HAVE_ELEMENTARY_ETHUMB
if (wd->thumb.file.path)
elm_icon_thumb_set(obj, wd->thumb.file.path, wd->thumb.file.key);
+#endif
eina_stringshare_del(refup);
}
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense..
http://p.sf.net/sfu/splunk-d2d-c1
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel