diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | backend/ev-document-misc.c | 2 |
2 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,10 @@ +2005-06-01 Marco Pesenti Gritti <mpg@redhat.com> + + * backend/ev-document-misc.c: + (ev_document_misc_get_thumbnail_frame): + + Pages can be 0 x 0, dont assert on this case + 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose), diff --git a/backend/ev-document-misc.c b/backend/ev-document-misc.c index bb5eedb..0626e13 100644 --- a/backend/ev-document-misc.c +++ b/backend/ev-document-misc.c @@ -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, |