Change return type to Eina_Bool

Return Eina_Bool if the return value of a function is true or false.

SVN revision: 56593
This commit is contained in:
Sebastian Dransfeld 2011-01-31 11:44:02 +00:00
parent b59dbf5a08
commit 1e99acb865
2 changed files with 7 additions and 3 deletions

View File

@ -34,3 +34,7 @@
* Return EINA_{TRUE,FALSE} if return type is Eina_Bool
2011-01-XX Sebastian Dransfeld
* Return Eina_Bool if the return value of a function is true or false

View File

@ -251,16 +251,16 @@ cache_scan_path_dir(Efreet_Icon_Theme *theme,
return EINA_TRUE;
}
static int
static Eina_Bool
cache_scan_path(Efreet_Icon_Theme *theme, Eina_Hash *icons, Eina_Hash *dirs, const char *path, Eina_Bool *changed)
{
Eina_List *l;
Efreet_Icon_Theme_Directory *dir;
EINA_LIST_FOREACH(theme->directories, l, dir)
if (!cache_scan_path_dir(theme, path, dir, icons, dirs, changed)) return 0;
if (!cache_scan_path_dir(theme, path, dir, icons, dirs, changed)) return EINA_FALSE;
return 1;
return EINA_TRUE;
}
static Eina_Bool