Enlightenment CVS committal Author : lordchaos Project : e17 Module : proto
Dir : e17/proto/entropy/src Modified Files: entropy_core.c Log Message: * Hook up the file cache dialog. Also supports sorting by # of listeners. More details to come * Fix logic flaw in event cycle for file listing and file-decaching (success #1 for file cache debug dialog) =================================================================== RCS file: /cvsroot/enlightenment/e17/proto/entropy/src/entropy_core.c,v retrieving revision 1.54 retrieving revision 1.55 diff -u -3 -r1.54 -r1.55 --- entropy_core.c 6 Mar 2006 09:04:54 -0000 1.54 +++ entropy_core.c 6 Mar 2006 10:41:39 -0000 1.55 @@ -1310,14 +1310,16 @@ if (listener) { listener->count--; - if (listener->count <= 0 && 0) { + if (listener->count <= 0) { ecore_hash_remove(core_core->uri_reference_list, listener->file->uri); + + ecore_hash_remove(core_core->file_interest_list, md5); entropy_generic_file_destroy(listener->file); free(listener); - ecore_hash_remove(core_core->file_interest_list, md5); + file_cache_size--; ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs