From 7badfbfdb0cc6df0c6ffc5f30f05ffa7bc9e33fb Mon Sep 17 00:00:00 2001 From: Christopher Michael Date: Mon, 15 Oct 2007 19:14:53 +0000 Subject: [PATCH] Remove the check to see if its the current theme, just check for the group existing. SVN revision: 32083 --- src/bin/e_theme.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/bin/e_theme.c b/src/bin/e_theme.c index 650b0e958..f5eefe047 100644 --- a/src/bin/e_theme.c +++ b/src/bin/e_theme.c @@ -486,13 +486,7 @@ e_theme_handler_set(Evas_Object *obj, const char *path, void *data) EAPI int e_theme_handler_test(Evas_Object *obj, const char *path, void *data) { - E_Config_Theme *ct; - if (!path) return 0; - - /* test is this theme is already set */ - ct = e_theme_config_get("theme"); - if ((ct) && (!strcmp(ct->file, path))) return 0; if (!edje_file_group_exists(path, "e/widgets/border/default/border")) return 0; return 1;