From c2ff02cac46aa126e2334330eb00d38e66e926dc Mon Sep 17 00:00:00 2001 From: SooChan Lim Date: Fri, 31 Jan 2025 15:47:50 +0900 Subject: [PATCH] e_comp_object: remove e_comp_object_util_zone_get e_comp_object_util_zone_get is useless. Change-Id: I73a7da0a1e4172df096ba80f37534038b046d23d --- src/bin/compmgr/e_comp_object.c | 18 ------------------ src/bin/compmgr/e_comp_object_intern.h | 2 -- 2 files changed, 20 deletions(-) diff --git a/src/bin/compmgr/e_comp_object.c b/src/bin/compmgr/e_comp_object.c index bf56777c5f..2168ec2bb7 100644 --- a/src/bin/compmgr/e_comp_object.c +++ b/src/bin/compmgr/e_comp_object.c @@ -2725,24 +2725,6 @@ e_comp_object_client_get(Evas_Object *obj) return cw ? cw->ec : NULL; } -EINTERN E_Zone * -e_comp_object_util_zone_get(Evas_Object *obj) -{ - E_Zone *zone = NULL; - - SOFT_ENTRY(NULL); - if (cw) - zone = e_comp_zone_find_by_ec(cw->ec); - if (!zone) - { - int x, y; - - evas_object_geometry_get(obj, &x, &y, NULL, NULL); - zone = e_comp_zone_xy_get(x, y); - } - return zone; -} - EINTERN void e_comp_object_input_objs_del(Evas_Object *obj) { diff --git a/src/bin/compmgr/e_comp_object_intern.h b/src/bin/compmgr/e_comp_object_intern.h index 449f462ffc..a44f4033c4 100644 --- a/src/bin/compmgr/e_comp_object_intern.h +++ b/src/bin/compmgr/e_comp_object_intern.h @@ -193,8 +193,6 @@ EINTERN void e_comp_object_damage_trace_debug(Eina_Bool onoff); EINTERN Eina_Bool e_comp_object_frame_exists(Evas_Object *obj); EINTERN Eina_Bool e_comp_object_frame_theme_set(Evas_Object *obj, const char *name); -EINTERN E_Zone *e_comp_object_util_zone_get(Evas_Object *obj); - EINTERN Eina_Bool e_comp_object_damage_exists(Evas_Object *obj); EINTERN void e_comp_object_shape_apply(Evas_Object *obj); EINTERN void e_comp_object_redirected_set(Evas_Object *obj, Eina_Bool set); -- 2.34.1