X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=ps%2Fps-document.c;h=fd6fc4a62d5785fcf250a806cda5b5e441f465d8;hb=8dbcee6be49013edc9821096288e2c078169e349;hp=fb1dd3d68e6a0a6befe41e38f57c549102c52dbb;hpb=6af6a1702a16376243e0ab318ae4ac121298659a;p=evince.git diff --git a/ps/ps-document.c b/ps/ps-document.c index fb1dd3d6..fd6fc4a6 100644 --- a/ps/ps-document.c +++ b/ps/ps-document.c @@ -1784,9 +1784,12 @@ ps_document_set_page_offset (EvDocument *document, static void ps_document_get_page_size (EvDocument *document, - int *width, - int *height) + int page, + int *width, + int *height) { + /* Post script documents never vary in size */ + PSDocument *gs = PS_DOCUMENT (document); if (width) {