snprintf(icn, PATH_MAX, "%sindex.theme", path); if (ecore_desktop_icon_theme_get(icn, NULL)) { printf("RETURN 1\n"); return 1; /* Should stop it from recursing this directory, but let it continue searching the next. */ } printf("RETURN 0\n"); return 0;