From: Jihoon Kim <imfine98@gmail.com>
Subject: [E-devel] [PATCH] fix elementary build error without ethumb Date: Sun, 26 Jun 2011 13:37:02 +0900 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? SVN revision: 60696
This commit is contained in:
parent
452e2d379f
commit
fb34d56912
|
@ -99,6 +99,14 @@ _path_is_absolute(const char *path)
|
||||||
}
|
}
|
||||||
#endif
|
#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
|
#ifdef HAVE_ELEMENTARY_ETHUMB
|
||||||
static void
|
static void
|
||||||
_icon_thumb_stop(Widget_Data *wd, void *ethumbd)
|
_icon_thumb_stop(Widget_Data *wd, void *ethumbd)
|
||||||
|
@ -283,14 +291,6 @@ _icon_thumb_exists(Ethumb_Client *client __UNUSED__, Ethumb_Exists *thread, Eina
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
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
|
static void
|
||||||
_icon_thumb_apply(Widget_Data *wd)
|
_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))
|
if (!_elm_icon_standard_set(wd, obj, wd->stdicon, &fdo) || (!fdo))
|
||||||
evas_object_event_callback_del_full(obj, EVAS_CALLBACK_RESIZE,
|
evas_object_event_callback_del_full(obj, EVAS_CALLBACK_RESIZE,
|
||||||
_elm_icon_standard_resize, wd);
|
_elm_icon_standard_resize, wd);
|
||||||
|
#ifdef HAVE_ELEMENTARY_ETHUMB
|
||||||
if (wd->thumb.file.path)
|
if (wd->thumb.file.path)
|
||||||
elm_icon_thumb_set(obj, wd->thumb.file.path, wd->thumb.file.key);
|
elm_icon_thumb_set(obj, wd->thumb.file.path, wd->thumb.file.key);
|
||||||
|
#endif
|
||||||
|
|
||||||
eina_stringshare_del(refup);
|
eina_stringshare_del(refup);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue