evas: remove unused function evas_common_load_image_from_file.
authorCedric BAIL <cedric@osg.samsung.com>
Thu, 5 Oct 2017 16:37:07 +0000 (09:37 -0700)
committerCedric BAIL <cedric@osg.samsung.com>
Thu, 5 Oct 2017 16:37:07 +0000 (09:37 -0700)
src/lib/evas/common/evas_image.h
src/lib/evas/common/evas_image_main.c

index e686ef7..ddad911 100644 (file)
@@ -35,7 +35,6 @@ EAPI RGBA_Image       *evas_common_image_alpha_line_buffer_obtain  (int len);
 EAPI void              evas_common_image_alpha_line_buffer_release (RGBA_Image *im);
 EAPI void              evas_common_image_alpha_line_buffer_free    (RGBA_Image *im);
 
-EAPI RGBA_Image       *evas_common_load_image_from_file            (const char *file, const char *key, Evas_Image_Load_Opts *lo, int *error);
 EAPI RGBA_Image       *evas_common_load_image_from_mmap            (Eina_File *f, const char *key, Evas_Image_Load_Opts *lo, int *error);
 EAPI int               evas_common_save_image_to_file              (RGBA_Image *im, const char *file, const char *key, int quality, int compress, const char *encoding);
 
index 5b7a544..591f82f 100644 (file)
@@ -1068,18 +1068,6 @@ evas_common_image_get_cache(void)
 }
 
 EAPI RGBA_Image *
-evas_common_load_image_from_file(const char *file, const char *key,
-                                 Evas_Image_Load_Opts *lo, int *error)
-{
-   if (!file)
-     {
-        *error = EVAS_LOAD_ERROR_GENERIC;
-        return NULL;
-     }
-   return (RGBA_Image *) evas_cache_image_request(eci, file, key, lo, error);
-}
-
-EAPI RGBA_Image *
 evas_common_load_image_from_mmap(Eina_File *f, const char *key,
                                  Evas_Image_Load_Opts *lo, int *error)
 {