From: Marco Pesenti Gritti Date: Mon, 28 Feb 2005 21:16:18 +0000 (+0000) Subject: If there is no bpixmap create one, even if size is not changed. X-Git-Tag: EVINCE_0_1_6~4 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=b8c051af87516e02b145cff0a3ecf09a94710dff;p=evince.git If there is no bpixmap create one, even if size is not changed. 2005-02-28 Marco Pesenti Gritti * ps/ps-document.c: (set_up_page): If there is no bpixmap create one, even if size is not changed. --- diff --git a/ChangeLog b/ChangeLog index fd78fbc8..d15f4a97 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2005-02-28 Marco Pesenti Gritti + + * 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 * ps/ps-document.c: (ps_document_init), (ps_document_cleanup), diff --git a/ps/ps-document.c b/ps/ps-document.c index d78ad744..c0eb794f 100644 --- a/ps/ps-document.c +++ b/ps/ps-document.c @@ -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) */