Commit cd560e98 authored by Marco Pesenti Gritti's avatar Marco Pesenti Gritti Committed by Marco Pesenti Gritti

Pages can be 0 x 0, dont assert on this case

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
parent e45c8579
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),
......
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment