]> www.fi.muni.cz Git - evince.git/blobdiff - backend/ev-document-thumbnails.c
Reduce relocations. Bug #360616.
[evince.git] / backend / ev-document-thumbnails.c
index ce2f21874860df356af9b456edb7a03000cbc8ec..c560cec10efa34e65ecd09fb4dde9f1c11ff1b24 100644 (file)
@@ -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,14 +47,17 @@ ev_document_thumbnails_get_type (void)
 GdkPixbuf *
 ev_document_thumbnails_get_thumbnail (EvDocumentThumbnails   *document,
                                      gint                    page,
-                                     gint                    suggested_width)
+                                     int                     rotation,
+                                     gint                    size,
+                                     gboolean                border)
 {
        EvDocumentThumbnailsIface *iface;
 
        g_return_val_if_fail (EV_IS_DOCUMENT_THUMBNAILS (document), NULL);
 
        iface = EV_DOCUMENT_THUMBNAILS_GET_IFACE (document);
-       return iface->get_thumbnail (document, page, suggested_width);
+
+       return iface->get_thumbnail (document, page, rotation, size, border);
 }
 
 void