summaryrefslogtreecommitdiff
path: root/src/lib/ethumb/ethumb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ethumb/ethumb.c')
-rw-r--r--src/lib/ethumb/ethumb.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/lib/ethumb/ethumb.c b/src/lib/ethumb/ethumb.c
index ca019823ae..aa4e824c28 100644
--- a/src/lib/ethumb/ethumb.c
+++ b/src/lib/ethumb/ethumb.c
@@ -256,8 +256,6 @@ ethumb_init(void)
_plugins_ext = eina_hash_string_small_new(NULL);
EINA_SAFETY_ON_NULL_GOTO(_plugins_ext, error_plugins_ext);
- evas_init();
- ecore_init();
ecore_evas_init();
edje_init();
@@ -285,6 +283,8 @@ ethumb_init(void)
return ++initcount;
error_plugins_ext:
+ edje_shutdown();
+ ecore_evas_shutdown();
eina_prefix_free(_pfx);
_pfx = NULL;
@@ -312,10 +312,8 @@ ethumb_shutdown(void)
eina_stringshare_del(_home_thumb_dir);
eina_stringshare_del(_thumb_category_normal);
eina_stringshare_del(_thumb_category_large);
- evas_shutdown();
- ecore_shutdown();
- ecore_evas_shutdown();
edje_shutdown();
+ ecore_evas_shutdown();
eina_prefix_free(_pfx);
_pfx = NULL;
eina_log_domain_unregister(_log_dom);
@@ -878,7 +876,7 @@ ethumb_file_get(const Ethumb *e, const char **path, const char **key)
}
static const char ACCEPTABLE_URI_CHARS[96] = {
- /* ! " # $ % & ' ( ) * + , - . / */
+ /* ! " # $ % & ' ( ) * + , - . / */
0x00,0x3F,0x20,0x20,0x28,0x00,0x2C,0x3F,0x3F,0x3F,0x3F,0x2A,0x28,0x3F,0x3F,0x1C,
/* 0 1 2 3 4 5 6 7 8 9 : ; < = > ? */
0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x38,0x20,0x20,0x2C,0x20,0x20,