e_comp_object: remove e_comp_object_frame_title_set 28/309228/1
authorSooChan Lim <sc1.lim@samsung.com>
Thu, 4 Apr 2024 01:16:45 +0000 (10:16 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Mon, 8 Apr 2024 01:26:07 +0000 (10:26 +0900)
It is not used anymore

Change-Id: Ie2ad2c953f7272784ed483d65ed13c3ea3613509

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

index 216f9e4..6c19769 100644 (file)
@@ -4191,17 +4191,6 @@ e_comp_object_frame_allowed(Evas_Object *obj)
 }
 
 EINTERN Eina_Bool
-e_comp_object_frame_title_set(Evas_Object *obj, const char *name)
-{
-   API_ENTRY EINA_FALSE;
-   if (!e_util_strcmp(cw->frame_name, name)) return EINA_FALSE;
-   eina_stringshare_replace(&cw->frame_name, name);
-   if (cw->frame_object)
-     edje_object_part_text_set(cw->frame_object, "e.text.title", cw->frame_name);
-   return EINA_TRUE;
-}
-
-EINTERN Eina_Bool
 e_comp_object_frame_exists(Evas_Object *obj)
 {
    API_ENTRY EINA_FALSE;
index fdac341..a1593df 100644 (file)
@@ -199,7 +199,6 @@ EINTERN void         e_comp_object_damage_trace_debug(Eina_Bool onoff);
 EINTERN Eina_Bool e_comp_object_frame_allowed(Evas_Object *obj);
 EINTERN void      e_comp_object_frame_geometry_get(Evas_Object *obj, int *l, int *r, int *t, int *b);
 EINTERN void      e_comp_object_frame_geometry_set(Evas_Object *obj, int l, int r, int t, int b);
-EINTERN Eina_Bool e_comp_object_frame_title_set(Evas_Object *obj, const char *name);
 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 void      e_comp_object_frame_extends_get(Evas_Object *obj, int *x, int *y, int *w, int *h);
index 6772535..85e77e5 100644 (file)
@@ -211,12 +211,7 @@ e_shell_e_client_name_title_set(E_Client *ec, const char *name, const char *titl
      e_client_icccm_name_set(ec, name);
 
    if (title)
-     {
-        e_client_icccm_title_set(ec, title);
-
-        if (ec->frame)
-          e_comp_object_frame_title_set(ec->frame, title);
-     }
+     e_client_icccm_title_set(ec, title);
 
    if (ec->changes.title)
      {