+2006-02-16 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
+
+ * ps/ps-document.c: (push_pixbuf), (setup_pixmap):
+
+ Add checks that have sense for empty ps document.
+
2006-02-15 Luca Ferretti <elle.uca@libero.it>
- * configure.ac: Include PS in mime types
- list.
+ * configure.ac: Include PS in mime types list.
2006-02-13 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
GdkColormap *cmap;
GdkPixbuf *pixbuf;
int width, height;
+
+ if (gs->pstarget == NULL)
+ return;
cmap = gdk_window_get_colormap (gs->pstarget);
gdk_drawable_get_size (gs->bpixmap, &width, &height);
GdkColormap *colormap;
double width, height;
int pixmap_width, pixmap_height;
+
+ if (gs->pstarget == NULL)
+ return;
ev_document_get_page_size (EV_DOCUMENT (gs), page, &width, &height);