From 8756234b664f750570379b8e500bf5a897bd5fec Mon Sep 17 00:00:00 2001 From: Gustavo Sverzut Barbieri Date: Wed, 13 Oct 2010 05:23:31 +0000 Subject: [PATCH] comment this as it seems to not play well with threads. probably this is an eina issue with last optimizations from cedric, but I'm commenting these out for now. (if efreet_mime is no-go from threads, must remove it from enjoy as well). SVN revision: 53339 --- src/bin/ephoto.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/bin/ephoto.h b/src/bin/ephoto.h index ec4a42c..eccc94f 100644 --- a/src/bin/ephoto.h +++ b/src/bin/ephoto.h @@ -172,8 +172,10 @@ _ephoto_eina_file_direct_info_image_useful(const Eina_File_Direct_Info *info) return EINA_TRUE; } - if (!(type = efreet_mime_type_get(info->path))) return EINA_FALSE; - return strncmp(type, "image/", sizeof("image/") - 1) == 0; + return EINA_FALSE; + /* seems that this does not play nice with threads */ + //if (!(type = efreet_mime_type_get(info->path))) return EINA_FALSE; + //return strncmp(type, "image/", sizeof("image/") - 1) == 0; } #endif