X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=backend%2Fpixbuf%2Fpixbuf-document.c;h=bebc25b6444fe62fc8314bbfa13ad02cc03e2a76;hb=f343927df4325959193353c52cff1ea4b20b2286;hp=a6d9f7bdb5edbeffafa3658be60ae755d8dfa54f;hpb=1af6600934d1f723e5b492b8322e52a1144fb0af;p=evince.git diff --git a/backend/pixbuf/pixbuf-document.c b/backend/pixbuf/pixbuf-document.c index a6d9f7bd..bebc25b6 100644 --- a/backend/pixbuf/pixbuf-document.c +++ b/backend/pixbuf/pixbuf-document.c @@ -17,12 +17,13 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "config.h" - #include +#include + #include "pixbuf-document.h" #include "ev-document-thumbnails.h" #include "ev-document-misc.h" +#include "ev-file-helpers.h" struct _PixbufDocumentClass { @@ -45,8 +46,8 @@ static void pixbuf_document_document_thumbnails_iface_init (EvDocumentThumbnails EV_BACKEND_REGISTER_WITH_CODE (PixbufDocument, pixbuf_document, { - G_IMPLEMENT_INTERFACE (EV_TYPE_DOCUMENT_THUMBNAILS, - pixbuf_document_document_thumbnails_iface_init) + EV_BACKEND_IMPLEMENT_INTERFACE (EV_TYPE_DOCUMENT_THUMBNAILS, + pixbuf_document_document_thumbnails_iface_init) }); static gboolean @@ -94,7 +95,7 @@ pixbuf_document_get_n_pages (EvDocument *document) static void pixbuf_document_get_page_size (EvDocument *document, - int page, + EvPage *page, double *width, double *height) {