summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2018-01-15 20:16:22 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2018-01-15 21:01:43 +0900
commite926eb316e68bab49bb10171fa1865ba3f5d8c17 (patch)
tree859e059bba51d54fe9c9c2ab1b675c64912d0263
parentc8b3da8cd7a1147aa5ccd7d0be719bfaa1f0bc17 (diff)
evas: Remove stupid warning
-rw-r--r--src/lib/evas/canvas/evas_image_legacy.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/evas/canvas/evas_image_legacy.c b/src/lib/evas/canvas/evas_image_legacy.c
index 7d19b8b08f..797cb2708f 100644
--- a/src/lib/evas/canvas/evas_image_legacy.c
+++ b/src/lib/evas/canvas/evas_image_legacy.c
@@ -1225,7 +1225,6 @@ evas_object_image_alpha_mask_set(Evas_Object *eo_obj EINA_UNUSED, Eina_Bool isma
1225EOLIAN static Eina_Bool 1225EOLIAN static Eina_Bool
1226_evas_image_efl_file_mmap_set(Eo *obj, void *pd EINA_UNUSED, const Eina_File *f, const char *key) 1226_evas_image_efl_file_mmap_set(Eo *obj, void *pd EINA_UNUSED, const Eina_File *f, const char *key)
1227{ 1227{
1228 WRN("efl_file_mmap_set shouldn't be used on Evas.Image. please switch to Efl.Canvas.Image");
1229 EVAS_IMAGE_API(obj, EINA_FALSE); 1228 EVAS_IMAGE_API(obj, EINA_FALSE);
1230 return _evas_image_mmap_set(obj, f, key); 1229 return _evas_image_mmap_set(obj, f, key);
1231} 1230}
@@ -1233,7 +1232,6 @@ _evas_image_efl_file_mmap_set(Eo *obj, void *pd EINA_UNUSED, const Eina_File *f,
1233EOLIAN static void 1232EOLIAN static void
1234_evas_image_efl_file_mmap_get(Eo *obj, void *pd EINA_UNUSED, const Eina_File **f, const char **key) 1233_evas_image_efl_file_mmap_get(Eo *obj, void *pd EINA_UNUSED, const Eina_File **f, const char **key)
1235{ 1234{
1236 WRN("efl_file_mmap_get shouldn't be used on Evas.Image. please switch to Efl.Canvas.Image");
1237 if (f) *f = NULL; 1235 if (f) *f = NULL;
1238 if (key) *key = NULL; 1236 if (key) *key = NULL;
1239 EVAS_IMAGE_API(obj); 1237 EVAS_IMAGE_API(obj);