summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2017-10-05 09:37:07 -0700
committerCedric BAIL <cedric@osg.samsung.com>2017-10-05 09:37:07 -0700
commit7672d1050ea9e1050c27ce2eda68718ea054b638 (patch)
tree2570de97e27337da01a5eb7dd53beea0eb0311f3 /src
parentfc7e244e99bbcaa8303e0e11a533d0d96b7525bd (diff)
evas: remove unused function evas_common_load_image_from_file.
Diffstat (limited to 'src')
-rw-r--r--src/lib/evas/common/evas_image.h1
-rw-r--r--src/lib/evas/common/evas_image_main.c12
2 files changed, 0 insertions, 13 deletions
diff --git a/src/lib/evas/common/evas_image.h b/src/lib/evas/common/evas_image.h
index e686ef7351..ddad9119ac 100644
--- a/src/lib/evas/common/evas_image.h
+++ b/src/lib/evas/common/evas_image.h
@@ -35,7 +35,6 @@ EAPI RGBA_Image *evas_common_image_alpha_line_buffer_obtain (int len);
35EAPI void evas_common_image_alpha_line_buffer_release (RGBA_Image *im); 35EAPI void evas_common_image_alpha_line_buffer_release (RGBA_Image *im);
36EAPI void evas_common_image_alpha_line_buffer_free (RGBA_Image *im); 36EAPI void evas_common_image_alpha_line_buffer_free (RGBA_Image *im);
37 37
38EAPI RGBA_Image *evas_common_load_image_from_file (const char *file, const char *key, Evas_Image_Load_Opts *lo, int *error);
39EAPI RGBA_Image *evas_common_load_image_from_mmap (Eina_File *f, const char *key, Evas_Image_Load_Opts *lo, int *error); 38EAPI RGBA_Image *evas_common_load_image_from_mmap (Eina_File *f, const char *key, Evas_Image_Load_Opts *lo, int *error);
40EAPI int evas_common_save_image_to_file (RGBA_Image *im, const char *file, const char *key, int quality, int compress, const char *encoding); 39EAPI int evas_common_save_image_to_file (RGBA_Image *im, const char *file, const char *key, int quality, int compress, const char *encoding);
41 40
diff --git a/src/lib/evas/common/evas_image_main.c b/src/lib/evas/common/evas_image_main.c
index 5b7a5447d2..591f82fb99 100644
--- a/src/lib/evas/common/evas_image_main.c
+++ b/src/lib/evas/common/evas_image_main.c
@@ -1068,18 +1068,6 @@ evas_common_image_get_cache(void)
1068} 1068}
1069 1069
1070EAPI RGBA_Image * 1070EAPI RGBA_Image *
1071evas_common_load_image_from_file(const char *file, const char *key,
1072 Evas_Image_Load_Opts *lo, int *error)
1073{
1074 if (!file)
1075 {
1076 *error = EVAS_LOAD_ERROR_GENERIC;
1077 return NULL;
1078 }
1079 return (RGBA_Image *) evas_cache_image_request(eci, file, key, lo, error);
1080}
1081
1082EAPI RGBA_Image *
1083evas_common_load_image_from_mmap(Eina_File *f, const char *key, 1071evas_common_load_image_from_mmap(Eina_File *f, const char *key,
1084 Evas_Image_Load_Opts *lo, int *error) 1072 Evas_Image_Load_Opts *lo, int *error)
1085{ 1073{