summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2020-09-17 16:26:59 +0000
committerChristopher Michael <devilhorns@comcast.net>2020-09-18 09:04:00 -0400
commit364323881cb229036774200637411094bb02cc9b (patch)
tree5ce0688f6f1c0ab7043acd2098725a8ae1d4c115 /src/lib
parent57354e01ecdb52ab4399ee79d11ce3f72abcb087 (diff)
elm_config: remove useless init|shutdown of ecore_win32 and eocore_cocoa (done in ecore_evas module), and useless wayland variable
ecore_win32 and ecore_cocoa was init. wayland variable was also unused Reviewed-by: Christopher Michael <devilhorns@comcast.net> Differential Revision: https://phab.enlightenment.org/D12149
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/elementary/elm_config.c16
-rw-r--r--src/lib/elementary/elm_priv.h4
2 files changed, 0 insertions, 20 deletions
diff --git a/src/lib/elementary/elm_config.c b/src/lib/elementary/elm_config.c
index 96384d37e9..7a1a966e09 100644
--- a/src/lib/elementary/elm_config.c
+++ b/src/lib/elementary/elm_config.c
@@ -42,10 +42,6 @@ static Eio_Monitor *_eio_profile_monitor = NULL;
42 42
43Eina_Hash *_elm_key_bindings = NULL; 43Eina_Hash *_elm_key_bindings = NULL;
44 44
45#ifdef HAVE_ELEMENTARY_WL2
46Ecore_Wl2_Display *_elm_wl_display = NULL;
47#endif
48
49const char *_elm_engines[] = { 45const char *_elm_engines[] = {
50 "software_x11", 46 "software_x11",
51 "fb", 47 "fb",
@@ -4318,12 +4314,6 @@ _elm_config_sub_shutdown(void)
4318{ 4314{
4319 ecore_event_type_flush(ELM_EVENT_CONFIG_ALL_CHANGED); 4315 ecore_event_type_flush(ELM_EVENT_CONFIG_ALL_CHANGED);
4320 4316
4321#ifdef HAVE_ELEMENTARY_COCOA
4322 ecore_cocoa_shutdown();
4323#endif
4324#ifdef HAVE_ELEMENTARY_WIN32
4325 ecore_win32_shutdown();
4326#endif
4327 ELM_SAFE_FREE(_eio_config_monitor, eio_monitor_del); 4317 ELM_SAFE_FREE(_eio_config_monitor, eio_monitor_del);
4328 ELM_SAFE_FREE(_eio_profile_monitor, eio_monitor_del); 4318 ELM_SAFE_FREE(_eio_profile_monitor, eio_monitor_del);
4329 ELM_SAFE_FREE(_config_change_delay_timer, ecore_timer_del); 4319 ELM_SAFE_FREE(_config_change_delay_timer, ecore_timer_del);
@@ -4414,12 +4404,6 @@ _elm_config_file_monitor_cb(void *data EINA_UNUSED,
4414void 4404void
4415_elm_config_sub_init(void) 4405_elm_config_sub_init(void)
4416{ 4406{
4417#ifdef HAVE_ELEMENTARY_COCOA
4418 ecore_cocoa_init();
4419#endif
4420#ifdef HAVE_ELEMENTARY_WIN32
4421 ecore_win32_init();
4422#endif
4423 char buf[PATH_MAX]; 4407 char buf[PATH_MAX];
4424 int ok = 0; 4408 int ok = 0;
4425 4409
diff --git a/src/lib/elementary/elm_priv.h b/src/lib/elementary/elm_priv.h
index 146f2f8c53..fe7b65297d 100644
--- a/src/lib/elementary/elm_priv.h
+++ b/src/lib/elementary/elm_priv.h
@@ -904,10 +904,6 @@ extern Eina_Bool _config_profile_lock;
904 904
905extern Eina_FreeQ *postponed_fq; 905extern Eina_FreeQ *postponed_fq;
906 906
907# ifdef HAVE_ELEMENTARY_WL2
908extern Ecore_Wl2_Display *_elm_wl_display;
909# endif
910
911# ifdef ENABLE_NLS 907# ifdef ENABLE_NLS
912/* Our gettext wrapper, used to disable translation of elm if the app 908/* Our gettext wrapper, used to disable translation of elm if the app
913 * is not translated. */ 909 * is not translated. */