Enlightenment CVS committal
Author : lordchaos
Project : e17
Module : proto
Dir : e17/proto/entropy/src
Modified Files:
entropy_core.c
Log Message:
* Miscellaneous cleanups
* Remove a crash related to entropy_generic_file cloning.
===================================================================
RCS file: /cvsroot/enlightenment/e17/proto/entropy/src/entropy_core.c,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -3 -r1.61 -r1.62
--- entropy_core.c 19 Mar 2006 04:28:42 -0000 1.61
+++ entropy_core.c 19 Mar 2006 05:41:08 -0000 1.62
@@ -875,7 +875,13 @@
clone->parent = file->parent;
- clone->thumbnail = file->thumbnail;
+ if (file->thumbnail) {
+ /*FIXME - we should make this more generic*/
+ clone->thumbnail = entropy_thumbnail_new();
+ strcpy(clone->thumbnail->thumbnail_filename,
file->thumbnail->thumbnail_filename);
+ clone->thumbnail->parent = (void*)clone;
+ }
+
clone->md5 = strdup(file->md5);
return clone;
-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs