From c5efd33775845533af5391ed6646282b14227518 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Mon, 5 Jul 2010 06:19:15 +0000 Subject: [PATCH] efreet_mime_{init,shutdown} are important apparently? SVN revision: 50043 --- src/bin/ephoto_thumb_browser.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/bin/ephoto_thumb_browser.c b/src/bin/ephoto_thumb_browser.c index caff08f..22865d1 100644 --- a/src/bin/ephoto_thumb_browser.c +++ b/src/bin/ephoto_thumb_browser.c @@ -151,6 +151,8 @@ _ephoto_access_disk(Ecore_Thread *thread, void *data) Eina_Iterator *it = data; const char *file; const char *type; + if (!efreet_mime_init()) + fprintf(stderr, "Could not init efreet_mime!\n"); EINA_ITERATOR_FOREACH(it, file) { @@ -165,6 +167,7 @@ _ephoto_access_disk(Ecore_Thread *thread, void *data) continue ; eina_stringshare_del(file); } + efreet_mime_shutdown(); } static void