]> www.fi.muni.cz Git - evince.git/commitdiff
If there is no bpixmap create one, even if size is not changed.
authorMarco Pesenti Gritti <marco@gnome.org>
Mon, 28 Feb 2005 21:16:18 +0000 (21:16 +0000)
committerMarco Pesenti Gritti <marco@src.gnome.org>
Mon, 28 Feb 2005 21:16:18 +0000 (21:16 +0000)
2005-02-28  Marco Pesenti Gritti  <marco@gnome.org>

        * ps/ps-document.c: (set_up_page):

        If there is no bpixmap create one, even if size
        is not changed.

ChangeLog
ps/ps-document.c

index fd78fbc8c812a1faa1a2f029e8a3dba44e5f0d1d..d15f4a97c074097d7bfc0c82c5926c4d19116db8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2005-02-28  Marco Pesenti Gritti  <marco@gnome.org>
+
+       * ps/ps-document.c: (set_up_page):
+
+       If there is no bpixmap create one, even if size
+       is not changed.
+
 2005-02-28  Marco Pesenti Gritti  <marco@gnome.org>
 
        * ps/ps-document.c: (ps_document_init), (ps_document_cleanup),
index d78ad744a8b5e5b51718f7820c819c3a7fe36551..c0eb794f198a8d3a56ed77e44d423514393c6111 100644 (file)
@@ -505,7 +505,7 @@ set_up_page(PSDocument * gs)
 
   orientation = ps_document_get_orientation(gs);
 
-  if(size_changed) {
+  if (size_changed || gs->bpixmap == NULL) {
     gdk_flush();
 
     /* clear new pixmap (set to white) */