X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=sidebyside;f=backend%2Fev-document-thumbnails.c;h=c560cec10efa34e65ecd09fb4dde9f1c11ff1b24;hb=47fb87e520d1abe31a1965d500602e0e80e899b2;hp=260d623864edd7bbaa481ea5c8e4190855bd7761;hpb=b006971d2c876b5ae62e2ed917496d370e90333c;p=evince.git diff --git a/backend/ev-document-thumbnails.c b/backend/ev-document-thumbnails.c index 260d6238..c560cec1 100644 --- a/backend/ev-document-thumbnails.c +++ b/backend/ev-document-thumbnails.c @@ -29,7 +29,7 @@ ev_document_thumbnails_get_type (void) if (G_UNLIKELY (type == 0)) { - static const GTypeInfo our_info = + const GTypeInfo our_info = { sizeof (EvDocumentThumbnailsIface), NULL, @@ -47,6 +47,7 @@ ev_document_thumbnails_get_type (void) GdkPixbuf * ev_document_thumbnails_get_thumbnail (EvDocumentThumbnails *document, gint page, + int rotation, gint size, gboolean border) { @@ -55,7 +56,8 @@ ev_document_thumbnails_get_thumbnail (EvDocumentThumbnails *document, g_return_val_if_fail (EV_IS_DOCUMENT_THUMBNAILS (document), NULL); iface = EV_DOCUMENT_THUMBNAILS_GET_IFACE (document); - return iface->get_thumbnail (document, page, size, border); + + return iface->get_thumbnail (document, page, rotation, size, border); } void