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
This commit is contained in:
Gustavo Sverzut Barbieri 2010-10-13 05:23:31 +00:00
parent b4f63379b5
commit 8756234b66
1 changed files with 4 additions and 2 deletions

View File

@ -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