]> www.fi.muni.cz Git - evince.git/commitdiff
add 1 to the page, as this seems to be 1 based. I thought we has this
authorJonathan Blandford <jrb@redhat.com>
Thu, 24 Mar 2005 04:50:37 +0000 (04:50 +0000)
committerJonathan Blandford <jrb@src.gnome.org>
Thu, 24 Mar 2005 04:50:37 +0000 (04:50 +0000)
Wed Mar 23 23:49:41 2005  Jonathan Blandford  <jrb@redhat.com>

        * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
        1 to the page, as this seems to be 1 based.  I thought we has this
        fixed.  grump.

ChangeLog
pdf/pdf-document.cc

index c4eada246a9a77fd8040313e1c1b652925318e17..81a3448d009550f876d4636cf1e02926774c7dbc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Wed Mar 23 23:49:41 2005  Jonathan Blandford  <jrb@redhat.com>
+
+       * pdf/pdf-document.cc (pdf_document_thumbnails_get_thumbnail): add
+       1 to the page, as this seems to be 1 based.  I thought we has this
+       fixed.  grump.
+
 2005-03-23  Marco Pesenti Gritti <marco@gnome.org>
 
        * TODO:
index 0d0ad893f45d39f7770d57dc41a90b862d80f3f0..065130fbdacd9aec00ed9fd8f3d03c895b9c36af 100644 (file)
@@ -1428,6 +1428,9 @@ pdf_document_thumbnails_get_thumbnail (EvDocumentThumbnails *document_thumbnails
        Thumb *thumb = NULL;
        gboolean have_ethumbs = FALSE;
 
+       /* Add 1 to page.  !@#!!~!#!@#! */
+       page ++;
+
        the_page = pdf_document->doc->getCatalog ()->getPage (page);
        the_page->getThumb(&the_thumb);