Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : apps/e_utils

Dir     : e17/apps/e_utils/src/bin/ethemes


Modified Files:
        e_preview.c 


Log Message:
Add missing header.
Fix compiler warning.

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e_utils/src/bin/ethemes/e_preview.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- e_preview.c 14 Nov 2005 10:42:46 -0000      1.3
+++ e_preview.c 7 Jan 2006 10:43:28 -0000       1.4
@@ -5,6 +5,7 @@
 #include <Edje.h>
 #include <Evas.h>
 #include <Ecore_Evas.h>
+#include <Ecore_File.h>
 #include <Eet.h>
 #include <E_Lib.h>
 #include <sys/stat.h>
@@ -394,13 +395,14 @@
 
        char * thumb = e_preview_thumb_file_get(theme);
 
-       if (stat(themefile, &themestatus) == 0)
+       if (stat(themefile, &themestatus) == 0) {
                if (stat(thumb, &thumbstatus) == 0) {
                        if (themestatus.st_mtime > thumbstatus.st_mtime) /* not 
uptodate */
                                return 1;
                } else {
                        return 1;
                }
+       }
                
 
        




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to