Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_image.c 


Log Message:
- make sure we got an image back from epsilon. (this can be null if epsilon
  was unable to thumb the image, say for a .svg file)

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_image.c,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -3 -r1.43 -r1.44
--- ewl_image.c 23 Sep 2006 00:46:41 -0000      1.43
+++ ewl_image.c 26 Sep 2006 05:09:13 -0000      1.44
@@ -608,8 +608,11 @@
        ev = event;
        thumb = ev->data;
 
-       if (thumb) {
-               ewl_image_file_path_set(EWL_IMAGE(thumb), ev->dest);
+       if (thumb) 
+       {
+               if (ev->dest)
+                       ewl_image_file_path_set(EWL_IMAGE(thumb), ev->dest);
+
                thumb->thumb = NULL;
        }
 



-------------------------------------------------------------------------
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

Reply via email to