evas: fix double define
authorMarcel Hollerbach <marcel-hollerbach@t-online.de>
Sun, 19 Jun 2016 09:32:05 +0000 (11:32 +0200)
committerMarcel Hollerbach <marcel-hollerbach@t-online.de>
Sun, 19 Jun 2016 09:32:05 +0000 (11:32 +0200)
/usr/local-efl/include/evas-1/Evas_Legacy.h:3762:30: warning: redefinition of typedef 'Evas_Load_Error'
      is a C11 feature [-Wtypedef-redefinition]
typedef Efl_Image_Load_Error Evas_Load_Error;
                             ^
/usr/local-efl/include/evas-1/Evas_Loader.h:126:30: note: previous definition is here
typedef Efl_Image_Load_Error Evas_Load_Error;
                             ^

thank you jpeg :P

src/lib/evas/Evas_Legacy.h

index 4b8b88f..14bc773 100644 (file)
@@ -3759,8 +3759,6 @@ EAPI void evas_object_image_load_scale_down_set(Evas_Object *obj, int scale_down
  */
 EAPI int evas_object_image_load_scale_down_get(const Evas_Object *obj);
 
-typedef Efl_Image_Load_Error Evas_Load_Error;
-
 /**
  * @brief Retrieves a number representing any error that occurred during the
  * last loading of the given image object's source image.