summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_object_textblock.c
diff options
context:
space:
mode:
authorHermet Park <hermetpark@gmail.com>2018-10-11 13:46:36 +0900
committerHermet Park <hermetpark@gmail.com>2018-10-11 13:46:37 +0900
commit27fd6a2eab6021c4859b8fbdfc01a90e1ba4748c (patch)
tree57300a6635d74c3a77b6df125dc793604ce0e136 /src/lib/evas/canvas/evas_object_textblock.c
parentf51f840b0e0e8f7e0bc290f001dd8c644e533ef6 (diff)
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_textblock.c')
-rw-r--r--src/lib/evas/canvas/evas_object_textblock.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/lib/evas/canvas/evas_object_textblock.c b/src/lib/evas/canvas/evas_object_textblock.c
index 8be4865..c0f9637 100644
--- a/src/lib/evas/canvas/evas_object_textblock.c
+++ b/src/lib/evas/canvas/evas_object_textblock.c
@@ -695,8 +695,6 @@ static void evas_object_textblock_render_post(Evas_Object *eo_obj,
695 void *type_private_data); 695 void *type_private_data);
696static Evas_Object_Textblock_Node_Text *_evas_textblock_node_text_new(void); 696static Evas_Object_Textblock_Node_Text *_evas_textblock_node_text_new(void);
697 697
698static unsigned int evas_object_textblock_id_get(Evas_Object *eo_obj);
699static unsigned int evas_object_textblock_visual_id_get(Evas_Object *eo_obj);
700static void *evas_object_textblock_engine_data_get(Evas_Object *eo_obj); 698static void *evas_object_textblock_engine_data_get(Evas_Object *eo_obj);
701 699
702static int evas_object_textblock_is_opaque(Evas_Object *eo_obj, 700static int evas_object_textblock_is_opaque(Evas_Object *eo_obj,
@@ -716,14 +714,10 @@ static const Evas_Object_Func object_func =
716 evas_object_textblock_render, 714 evas_object_textblock_render,
717 evas_object_textblock_render_pre, 715 evas_object_textblock_render_pre,
718 evas_object_textblock_render_post, 716 evas_object_textblock_render_post,
719 evas_object_textblock_id_get,
720 evas_object_textblock_visual_id_get,
721 evas_object_textblock_engine_data_get, 717 evas_object_textblock_engine_data_get,
722 /* these are optional. NULL = nothing */ 718 /* these are optional. NULL = nothing */
723 NULL, 719 NULL,
724 NULL, 720 NULL,
725 NULL,
726 NULL,
727 evas_object_textblock_is_opaque, 721 evas_object_textblock_is_opaque,
728 evas_object_textblock_was_opaque, 722 evas_object_textblock_was_opaque,
729 NULL, 723 NULL,
@@ -14869,20 +14863,6 @@ evas_object_textblock_render_post(Evas_Object *eo_obj EINA_UNUSED,
14869 _filter_output_cache_prune(obj, o); 14863 _filter_output_cache_prune(obj, o);
14870} 14864}
14871 14865
14872static unsigned int evas_object_textblock_id_get(Evas_Object *eo_obj)
14873{
14874 Efl_Canvas_Text_Data *o = efl_data_scope_get(eo_obj, MY_CLASS);
14875 if (!o) return 0;
14876 return MAGIC_OBJ_TEXTBLOCK;
14877}
14878
14879static unsigned int evas_object_textblock_visual_id_get(Evas_Object *eo_obj)
14880{
14881 Efl_Canvas_Text_Data *o = efl_data_scope_get(eo_obj, MY_CLASS);
14882 if (!o) return 0;
14883 return MAGIC_OBJ_CUSTOM;
14884}
14885
14886static void *evas_object_textblock_engine_data_get(Evas_Object *eo_obj) 14866static void *evas_object_textblock_engine_data_get(Evas_Object *eo_obj)
14887{ 14867{
14888 Efl_Canvas_Text_Data *o = efl_data_scope_get(eo_obj, MY_CLASS); 14868 Efl_Canvas_Text_Data *o = efl_data_scope_get(eo_obj, MY_CLASS);