Enlightenment CVS committal Author : chaos Project : e17 Module : proto
Dir : e17/proto/entropy/src Modified Files: entropy_gui_event_handlers.c Log Message: * Remove the onus on the consumer to track add/remove file references. This makes the core more transparent to the plugins =================================================================== RCS file: /cvs/e/e17/proto/entropy/src/entropy_gui_event_handlers.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -3 -r1.3 -r1.4 --- entropy_gui_event_handlers.c 1 Apr 2006 02:36:36 -0000 1.3 +++ entropy_gui_event_handlers.c 1 Apr 2006 02:47:34 -0000 1.4 @@ -90,6 +90,9 @@ entropy_notify_event *ev = entropy_notify_event_new(); entropy_file_request* request = entropy_malloc(sizeof(entropy_file_request)); + + /*Add a reference to this file*/ + entropy_core_file_cache_add_reference (((entropy_generic_file*)event->data)->md5); /*Set up the request..*/ request->file = event->data; ------------------------------------------------------- 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