diff options
author | Hermet Park <hermetpark@gmail.com> | 2018-10-11 13:46:36 +0900 |
---|---|---|
committer | Hermet Park <hermetpark@gmail.com> | 2018-10-11 13:46:37 +0900 |
commit | 27fd6a2eab6021c4859b8fbdfc01a90e1ba4748c (patch) | |
tree | 57300a6635d74c3a77b6df125dc793604ce0e136 /src/lib/evas/canvas/evas_object_image.c | |
parent | f51f840b0e0e8f7e0bc290f001dd8c644e533ef6 (diff) | |
download | efl-27fd6a2eab6021c4859b8fbdfc01a90e1ba4748c.tar.gz |
evas: remove redundant internal functions.
Summary:
Since efl object is introduced, magic check is no more used.
Plus, remove redundant object functions interfaces
- type_id,
- visual_id,
- store
- unstore
Reviewers: #committers, bu5hm4n
Reviewed By: #committers, bu5hm4n
Subscribers: bu5hm4n, raster, cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7153
Diffstat (limited to 'src/lib/evas/canvas/evas_object_image.c')
-rw-r--r-- | src/lib/evas/canvas/evas_object_image.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/lib/evas/canvas/evas_object_image.c b/src/lib/evas/canvas/evas_object_image.c index 896603301e..8aa9ded3b8 100644 --- a/src/lib/evas/canvas/evas_object_image.c +++ b/src/lib/evas/canvas/evas_object_image.c @@ -30,8 +30,6 @@ static void evas_object_image_render_post(Evas_Object *eo_obj, Evas_Object_Protected_Data *obj, void *type_private_data); -static unsigned int evas_object_image_id_get(Evas_Object *eo_obj); -static unsigned int evas_object_image_visual_id_get(Evas_Object *eo_obj); static void *evas_object_image_engine_data_get(Evas_Object *eo_obj); static int evas_object_image_is_opaque(Evas_Object *eo_obj, @@ -63,14 +61,10 @@ static const Evas_Object_Func object_func = evas_object_image_render, evas_object_image_render_pre, evas_object_image_render_post, - evas_object_image_id_get, - evas_object_image_visual_id_get, evas_object_image_engine_data_get, /* these are optional. NULL = nothing */ NULL, NULL, - NULL, - NULL, evas_object_image_is_opaque, evas_object_image_was_opaque, evas_object_image_is_inside, @@ -2699,22 +2693,6 @@ evas_object_image_render_post(Evas_Object *eo_obj EINA_UNUSED, /* FIXME: copy strings across */ } -static unsigned int -evas_object_image_id_get(Evas_Object *eo_obj) -{ - Evas_Image_Data *o = efl_data_scope_get(eo_obj, MY_CLASS); - if (!o) return 0; - return MAGIC_OBJ_IMAGE; -} - -static unsigned int -evas_object_image_visual_id_get(Evas_Object *eo_obj) -{ - Evas_Image_Data *o = efl_data_scope_get(eo_obj, MY_CLASS); - if (!o) return 0; - return MAGIC_OBJ_IMAGE; -} - static void * evas_object_image_engine_data_get(Evas_Object *eo_obj) { |