From: SooChan Lim Date: Sun, 30 Apr 2023 07:34:31 +0000 (+0900) Subject: e_config: remove E_EVENT_CONFIG_MODE_CHANGED X-Git-Tag: accepted/tizen/unified/20230605.170338~156 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c36b43083dea67ea65ef68203df1a7b27c01f632;p=platform%2Fupstream%2Fenlightenment.git e_config: remove E_EVENT_CONFIG_MODE_CHANGED E_EVENT_CONFIG_MODE_CHANGED is not used anywhere. Change-Id: I1a8e467d4864518947fbce02eedc21f6b8c5894b --- diff --git a/src/bin/e_client.c b/src/bin/e_client.c index 765722b..c71912b 100644 --- a/src/bin/e_client.c +++ b/src/bin/e_client.c @@ -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); diff --git a/src/bin/e_config.c b/src/bin/e_config.c index 74e849a..ca3c9c7 100644 --- a/src/bin/e_config.c +++ b/src/bin/e_config.c @@ -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 */ diff --git a/src/bin/e_config.h b/src/bin/e_config.h index 87aa4e3..177ec0a 100644 --- a/src/bin/e_config.h +++ b/src/bin/e_config.h @@ -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