Enlightenment CVS committal Author : ningerso Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/lib Modified Files: ewl_image.c ewl_image.h Log Message: Move the Epsilon specific types out of the public header. =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_image.c,v retrieving revision 1.37 retrieving revision 1.38 diff -u -3 -r1.37 -r1.38 --- ewl_image.c 1 Apr 2006 01:51:32 -0000 1.37 +++ ewl_image.c 12 Apr 2006 06:29:31 -0000 1.38 @@ -3,6 +3,11 @@ #include "ewl_debug.h" #include "ewl_macros.h" +#ifdef BUILD_EPSILON_SUPPORT +#include <Epsilon.h> +#include <Epsilon_Request.h> +#endif + static Ecore_Event_Handler *ewl_image_epsilon_handler = NULL; static Ewl_Image_Type ewl_image_type_get(const char *i); @@ -909,7 +914,7 @@ emb = ewl_embed_widget_find(w); ev = ev_data; - if (i->type == EWL_IMAGE_TYPE_EDJE) + if (i->type == EWL_IMAGE_TYPE_EDJE && emb) evas_event_feed_mouse_up(emb->evas, ev->button, EVAS_BUTTON_NONE, (unsigned int)((unsigned long long)(ecore_time_get() * 1000.0) & 0xffffffff), =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_image.h,v retrieving revision 1.22 retrieving revision 1.23 diff -u -3 -r1.22 -r1.23 --- ewl_image.h 1 Apr 2006 01:51:32 -0000 1.22 +++ ewl_image.h 12 Apr 2006 06:29:31 -0000 1.23 @@ -1,11 +1,6 @@ #ifndef EWL_IMAGE_H #define EWL_IMAGE_H -#ifdef BUILD_EPSILON_SUPPORT -#include <Epsilon.h> -#include <Epsilon_Request.h> -#endif - /** * @addtogroup Ewl_Image Ewl_Image: An Image Display Widget * Provides a widget for displaying evas loadable images, and edjes. @@ -82,11 +77,7 @@ struct Ewl_Image_Thumbnail { Ewl_Image image; /**< Inherit from Ewl_Image */ -#ifdef BUILD_EPSILON_SUPPORT - Epsilon_Request *thumb; /**< Outstanding request to thumbnail image */ -#else - void *thumb; /**< Not supported :( */ -#endif + void *thumb; /**< Outstanding request to thumbnail image */ Ewl_Widget *orig; /**< Reference to image used to create thumb */ }; ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs