Author: post
Date: 2010-10-16 17:25:06 +0200 (Sat, 16 Oct 2010)
New Revision: 3566

Modified:
   trunk/src/rs-store.c
Log:
Return if there is no thumbnail.

Modified: trunk/src/rs-store.c
===================================================================
--- trunk/src/rs-store.c        2010-10-16 15:21:18 UTC (rev 3565)
+++ trunk/src/rs-store.c        2010-10-16 15:25:06 UTC (rev 3566)
@@ -931,6 +931,11 @@
        GdkPixbuf *icon_priority_temp;
        GdkPixbuf *icon_exported_temp;
 
+       if (!pixbuf_clean)
+               return;
+       if (!(gdk_pixbuf_get_width(pixbuf_clean) && 
gdk_pixbuf_get_height(pixbuf_clean)))
+               return;
+
        gdk_pixbuf_copy_area(pixbuf_clean,
                        0,0,
                        gdk_pixbuf_get_width(pixbuf_clean),


_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit

Reply via email to