e_client: remove e_clients_immortal_list 10/292510/1
authorSooChan Lim <sc1.lim@samsung.com>
Tue, 2 May 2023 01:59:54 +0000 (10:59 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Tue, 9 May 2023 06:47:42 +0000 (15:47 +0900)
It is deprecated.

Change-Id: I0259dc1369be426f9b73fd561207eed3053265ab

src/bin/e_client.c
src/bin/e_client.h
src/bin/e_utils.c

index 4a01dac..8eb87a1 100644 (file)
@@ -5017,21 +5017,6 @@ e_client_warping_get(void)
 }
 
 
-E_API Eina_List *
-e_clients_immortal_list(void)
-{
-   const Eina_List *l;
-   Eina_List *list = NULL;
-   E_Client *ec;
-
-   EINA_LIST_FOREACH(e_comp->clients, l, ec)
-     {
-        if (ec->lock_life)
-          list = eina_list_append(list, ec);
-     }
-   return list;
-}
-
 //////////////////////////////////////////////////////////
 
 E_API void
index f6a297c..a4d1cd5 100644 (file)
@@ -1133,7 +1133,6 @@ E_API Eina_Bool e_client_desk_iconify_skip_get(E_Client *ec);
 E_API Eina_Bool e_client_comp_grabbed_get(void);
 E_API E_Client *e_client_action_get(void);
 E_API E_Client *e_client_warping_get(void);
-E_API Eina_List *e_clients_immortal_list(void);
 E_API void e_client_mouse_in(E_Client *ec, int x, int y);
 E_API void e_client_mouse_out(E_Client *ec, int x, int y);
 E_API void e_client_mouse_wheel(E_Client *ec, Evas_Point *output, E_Binding_Event_Wheel *ev);
index 86b10f5..963fd58 100644 (file)
@@ -148,21 +148,6 @@ e_util_both_str_empty(const char *s1, const char *s2)
 E_API int
 e_util_immortal_check(void)
 {
-   Eina_List *wins;
-
-   wins = e_clients_immortal_list();
-   if (wins)
-     {
-        e_util_dialog_show(_("Cannot exit - immortal windows."),
-                           _("Some windows are left still around with the Lifespan lock enabled. This means<br>"
-                             "that Enlightenment will not allow itself to exit until these windows have<br>"
-                             "been closed or have the lifespan lock removed.<br>"));
-        /* FIXME: should really display a list of these lifespan locked */
-        /* windows in a dialog and let the user disable their locks in */
-        /* this dialog */
-        eina_list_free(wins);
-        return 1;
-     }
    return 0;
 }