e_comp_object: remove e_comp_object_util_zone_get 96/318996/1
authorSooChan Lim <sc1.lim@samsung.com>
Fri, 31 Jan 2025 06:47:50 +0000 (15:47 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Mon, 3 Feb 2025 02:06:13 +0000 (11:06 +0900)
e_comp_object_util_zone_get is useless.

Change-Id: I73a7da0a1e4172df096ba80f37534038b046d23d

src/bin/compmgr/e_comp_object.c
src/bin/compmgr/e_comp_object_intern.h

index bf56777c5f1d541feb015f739f55753e82e56b15..2168ec2bb784d04cc50c619b06b4701e670a5708 100644 (file)
@@ -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)
 {
index 449f462ffc65c2ca3e1267644eb68179d7995c41..a44f4033c45b1e556aa9f9d6b7e6018f8798a40a 100644 (file)
@@ -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);