summaryrefslogtreecommitdiff
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
parent57354e01ecdb52ab4399ee79d11ce3f72abcb087 (diff)
downloadefl-364323881cb229036774200637411094bb02cc9b.tar.gz
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
-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;
Eina_Hash *_elm_key_bindings = NULL;
-#ifdef HAVE_ELEMENTARY_WL2
-Ecore_Wl2_Display *_elm_wl_display = NULL;
-#endif
-
const char *_elm_engines[] = {
"software_x11",
"fb",
@@ -4318,12 +4314,6 @@ _elm_config_sub_shutdown(void)
{
ecore_event_type_flush(ELM_EVENT_CONFIG_ALL_CHANGED);
-#ifdef HAVE_ELEMENTARY_COCOA
- ecore_cocoa_shutdown();
-#endif
-#ifdef HAVE_ELEMENTARY_WIN32
- ecore_win32_shutdown();
-#endif
ELM_SAFE_FREE(_eio_config_monitor, eio_monitor_del);
ELM_SAFE_FREE(_eio_profile_monitor, eio_monitor_del);
ELM_SAFE_FREE(_config_change_delay_timer, ecore_timer_del);
@@ -4414,12 +4404,6 @@ _elm_config_file_monitor_cb(void *data EINA_UNUSED,
void
_elm_config_sub_init(void)
{
-#ifdef HAVE_ELEMENTARY_COCOA
- ecore_cocoa_init();
-#endif
-#ifdef HAVE_ELEMENTARY_WIN32
- ecore_win32_init();
-#endif
char buf[PATH_MAX];
int ok = 0;
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;
extern Eina_FreeQ *postponed_fq;
-# ifdef HAVE_ELEMENTARY_WL2
-extern Ecore_Wl2_Display *_elm_wl_display;
-# endif
-
# ifdef ENABLE_NLS
/* Our gettext wrapper, used to disable translation of elm if the app
* is not translated. */