2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
* ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
ps pages are 0 based, convert
+2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
+
+ * ps/ps-document.c: (ps_document_set_page), (ps_document_get_page):
+
+ ps pages are 0 based, convert
+
2005-02-21 Marco Pesenti Gritti <marco@gnome.org>
* ps/ps-document.c: (ps_document_class_init), (ps_document_load):
ps_document_set_page (EvDocument *document,
int page)
{
- ps_document_goto_page (PS_DOCUMENT (document), page);
+ ps_document_goto_page (PS_DOCUMENT (document), page - 1);
}
static int
g_return_val_if_fail (ps != NULL, -1);
- return ps->current_page;
+ return ps->current_page + 1;
}
static gboolean