e_config: remove E_EVENT_CONFIG_MODE_CHANGED 04/292504/1
authorSooChan Lim <sc1.lim@samsung.com>
Sun, 30 Apr 2023 07:34:31 +0000 (16:34 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Tue, 9 May 2023 06:47:42 +0000 (15:47 +0900)
E_EVENT_CONFIG_MODE_CHANGED is not used anywhere.

Change-Id: I1a8e467d4864518947fbce02eedc21f6b8c5894b

src/bin/e_client.c
src/bin/e_config.c
src/bin/e_config.h

index 765722b..c71912b 100644 (file)
@@ -125,12 +125,6 @@ static Eina_Inlist *_e_client_intercept_hooks[] =
 ///////////////////////////////////////////
 
 static Eina_Bool
-_e_client_cb_config_mode(void *data EINA_UNUSED, int type EINA_UNUSED, void *ev EINA_UNUSED)
-{
-   return ECORE_CALLBACK_PASS_ON;
-}
-
-static Eina_Bool
 _e_client_cb_pointer_warp(void *data EINA_UNUSED, int type EINA_UNUSED, E_Event_Pointer_Warp *ev)
 {
    if (ecmove)
@@ -4619,7 +4613,6 @@ e_client_init(void)
      clients_hash[pix_id] = eina_hash_pointer_new(NULL);
 
    E_LIST_HANDLER_APPEND(handlers, E_EVENT_POINTER_WARP, _e_client_cb_pointer_warp, NULL);
-   E_LIST_HANDLER_APPEND(handlers, E_EVENT_CONFIG_MODE_CHANGED, _e_client_cb_config_mode, NULL);
    E_LIST_HANDLER_APPEND(handlers, E_EVENT_DESK_WINDOW_PROFILE_CHANGE, _e_client_cb_desk_window_profile_change, NULL);
 
    E_COMP_WL_HOOK_APPEND(hooks, E_COMP_WL_HOOK_SHELL_SURFACE_READY, _e_client_cb_hook_shell_surface_ready, NULL);
index 74e849a..ca3c9c7 100644 (file)
@@ -27,8 +27,6 @@ static E_Config_DD *_e_config_policy_desk_edd = NULL;
 static E_Config_DD *_e_config_socket_access_edd = NULL;
 static E_Config_DD *_e_config_aux_hint_supported_edd = NULL;
 
-E_API int E_EVENT_CONFIG_MODE_CHANGED = 0;
-
 #if 0
 static E_Dialog *_e_config_error_dialog = NULL;
 
@@ -352,8 +350,6 @@ _e_config_idle_cb(void *data)
 EINTERN int
 e_config_init(void)
 {
-   E_EVENT_CONFIG_MODE_CHANGED = ecore_event_type_new();
-
    /* TIZEN_ONLY: We don't save e.cfg file.
     * Sometimes e.cfg file was broken after writing.
     */
@@ -991,7 +987,6 @@ e_config_domain_save(const char *domain, E_Config_DD *edd, const void *data)
 E_API void
 e_config_mode_changed(void)
 {
-   ecore_event_add(E_EVENT_CONFIG_MODE_CHANGED, NULL, NULL, NULL);
 }
 
 /* local subsystem functions */
index 87aa4e3..177ec0a 100644 (file)
@@ -449,7 +449,5 @@ E_API void                     e_config_mode_changed(void);
 
 extern E_API E_Config *e_config;
 
-extern E_API int E_EVENT_CONFIG_MODE_CHANGED;
-
 #endif
 #endif