]> www.fi.muni.cz Git - evince.git/blobdiff - backend/ev-document-misc.c
use the new tiff2ps interfaces
[evince.git] / backend / ev-document-misc.c
index bb5eedbfe64eefae5afe66e0e6e4a78049cfa11a..0626e1372567de9cf71fba781a1dc001661907d3 100644 (file)
@@ -28,7 +28,7 @@ ev_document_misc_get_thumbnail_frame (int        width,
        }
 
        /* make sure no one is passing us garbage */
-       g_assert (width > 0 && height > 0);
+       g_assert (width >= 0 && height >= 0);
 
        retval = gdk_pixbuf_new (GDK_COLORSPACE_RGB,
                                 TRUE, 8,