diff --git a/legacy/elementary/src/lib/elm_thumb_common.h b/legacy/elementary/src/lib/elm_thumb_common.h index 484f1a162e..8cb2d5b46a 100644 --- a/legacy/elementary/src/lib/elm_thumb_common.h +++ b/legacy/elementary/src/lib/elm_thumb_common.h @@ -14,6 +14,13 @@ typedef enum ELM_THUMB_ANIMATION_LAST } Elm_Thumb_Animation_Setting; +#ifndef ELM_ETHUMB +typedef int Ethumb_Thumb_FDO_Size; +typedef int Ethumb_Thumb_Aspect; +typedef int Ethumb_Thumb_Format; +typedef int Ethumb_Thumb_Orientation; +#endif + /** * Get the ethumb_client handle so custom configuration can be made. * diff --git a/legacy/elementary/src/lib/elm_widget_thumb.h b/legacy/elementary/src/lib/elm_widget_thumb.h index fdefe354ae..36f350acc9 100644 --- a/legacy/elementary/src/lib/elm_widget_thumb.h +++ b/legacy/elementary/src/lib/elm_widget_thumb.h @@ -37,6 +37,7 @@ struct _Elm_Thumb_Smart_Data const char *thumb_path; const char *thumb_key; Ethumb_Client_Async *request; +#endif double cropx; double cropy; @@ -51,7 +52,6 @@ struct _Elm_Thumb_Smart_Data Ethumb_Thumb_Orientation orient; Eina_Bool retry : 1; -#endif } thumb; Ecore_Event_Handler *eeh;