Enlightenment CVS committal Author : chaos Project : e17 Module : apps/evfs
Dir : e17/apps/evfs/src/plugins/file Modified Files: evfs_fs_vfolder.c Log Message: * More eet->sqlite3 =================================================================== RCS file: /cvs/e/e17/apps/evfs/src/plugins/file/evfs_fs_vfolder.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -3 -r1.5 -r1.6 --- evfs_fs_vfolder.c 19 Jul 2006 16:27:10 -0000 1.5 +++ evfs_fs_vfolder.c 20 Jul 2006 09:04:48 -0000 1.6 @@ -124,21 +124,22 @@ } } else { char* group_name; - char** list; - int count; + char* item; + Ecore_List* list; int i; group_name = strstr(path + 1, "/") + 1; evfs_file_uri_path* path; printf("Group name: %s\n", group_name); - list = evfs_metadata_file_group_list(group_name, &count); - - for (i=0;i<count;i++) { - path = evfs_parse_uri(list[i]); + list = evfs_metadata_file_group_list(group_name); + ecore_list_goto_first(list); + while ( (item = ecore_list_remove_first(list))) { + path = evfs_parse_uri(item); ecore_list_append(files, path->files[0]); } + ecore_list_destroy(list); } } ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs