forked from enlightenment/efl
evas: remove unused function evas_common_load_image_from_file.
This commit is contained in:
parent
fc7e244e99
commit
7672d1050e
|
@ -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);
|
||||
|
||||
|
|
|
@ -1067,18 +1067,6 @@ evas_common_image_get_cache(void)
|
|||
return evas_cache_image_get(eci);
|
||||
}
|
||||
|
||||
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)
|
||||
|
|
Loading…
Reference in New Issue