summaryrefslogtreecommitdiff
path: root/backend/xps
diff options
context:
space:
mode:
Diffstat (limited to 'backend/xps')
-rw-r--r--backend/xps/xps-document.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/backend/xps/xps-document.c b/backend/xps/xps-document.c
index 602220ac..8db7d56c 100644
--- a/backend/xps/xps-document.c
+++ b/backend/xps/xps-document.c
@@ -513,13 +513,13 @@ xps_document_thumbnails_get_thumbnail (EvDocumentThumbnails *document,
{
GdkPixbuf *thumbnail;
cairo_surface_t *surface;
-
+
surface = xps_document_render (EV_DOCUMENT (document), rc);
-
+
thumbnail = ev_document_misc_pixbuf_from_surface (surface);
-
+
cairo_surface_destroy (surface);
-
+
if (border) {
GdkPixbuf *tmp_pixbuf = thumbnail;
@@ -537,7 +537,7 @@ xps_document_thumbnails_get_dimensions (EvDocumentThumbnails *document,
gint *height)
{
gdouble page_width, page_height;
-
+
xps_document_get_page_size (EV_DOCUMENT (document), rc->page,
&page_width, &page_height);