Fix elementary building when --disable-ethumb is passed in.

NB: This may not be the most Ideal fix, but it does work. Feel free to
change to a "proper" fix if desired. This was just a quick hack for
Mike to get things building again.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2013-08-12 13:19:45 +01:00
parent 77bbab7431
commit 9b99399b44
2 changed files with 8 additions and 1 deletions

View File

@ -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.
*

View File

@ -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;