e17/evry - fix exebuf to eina_file conversion. eina_file_statat does not return Eina_Bool

SVN revision: 78902
This commit is contained in:
Hannes Janetzek 2012-11-04 19:11:25 +00:00
parent 65e89d220f
commit 88e76c90eb
1 changed files with 2 additions and 2 deletions

View File

@ -458,7 +458,7 @@ _desktop_list_get(void)
efreet_desktop_free(d);
apps = eina_list_remove_list(apps, ll);
}
printf("%d %s\n", d->ref, d->name);
//printf("%d %s\n", d->ref, d->name);
efreet_desktop_free(d);
}
@ -1520,7 +1520,7 @@ _scan_idler(void *data __UNUSED__)
{
Eina_Stat st;
if (eina_file_statat(eina_iterator_container_get(exe_dir), info, &st) &&
if (!eina_file_statat(eina_iterator_container_get(exe_dir), info, &st) &&
(!S_ISDIR(st.mode)) &&
(!access(info->path, X_OK)))
{