diff options
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-08-03 17:27:42 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-08-03 17:27:42 +0900
commitabeeb11b19a30a5721389bbd9699f92d0aca76a4 (patch)
parentedje: fix color class broken by b543f4c896d9. (diff)
elm theme - don't use empty env vars eina_prefix handles anyway
in 14ec825aa9ed9c6ede79d1729fdb291285b3bd6d cedric added trying ELM_DATA_DIR env var explicitly for looking for themes. first if this is NULL then we look in a bogus directory (null). secondly eina_prefix already takes care of env vars like thsi as part of figuring out prefix with correct namespace etc. so this just is a bug as opposed to anything useful and the CORRECt implementation is already done in eina_prefix. @fix
1 files changed, 0 insertions, 8 deletions
diff --git a/src/lib/elementary/elm_theme.c b/src/lib/elementary/elm_theme.c
index 96c15f04b5..542316b710 100644
--- a/src/lib/elementary/elm_theme.c
+++ b/src/lib/elementary/elm_theme.c
@@ -96,14 +96,6 @@ _elm_theme_file_item_add(Elm_Theme_Files *files, const char *item, Eina_Bool pre
- getenv("ELM_DATA_DIR"), item);
- f = eina_file_open(eina_strbuf_string_get(buf), EINA_FALSE);
- _elm_theme_item_finalize(files, item, f, prepend, istheme);
- eina_strbuf_reset(buf);
- eina_strbuf_append_printf(buf,
- "%s/themes/%s.edj",
_elm_data_dir, item);
f = eina_file_open(eina_strbuf_string_get(buf), EINA_FALSE);
/* Finalize will be done by the common one */