From f0eabc17d6ec113c6e765ac3272f19623a6cbd4e Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 6 Jul 2016 13:15:49 +0200 Subject: Start slimming pdf_page. We want to turn pdf_page into a thin wrapper around a pdf_obj, so that any updates to the underlying PDF objects will be reflected without having to reload the pdf_page. --- source/fitz/document.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/fitz/document.c') diff --git a/source/fitz/document.c b/source/fitz/document.c index 5c913012..02c30459 100644 --- a/source/fitz/document.c +++ b/source/fitz/document.c @@ -398,7 +398,7 @@ fz_drop_page(fz_context *ctx, fz_page *page) } fz_transition * -fz_page_presentation(fz_context *ctx, fz_page *page, float *duration) +fz_page_presentation(fz_context *ctx, fz_page *page, fz_transition *transition, float *duration) { float dummy; if (duration) @@ -406,7 +406,7 @@ fz_page_presentation(fz_context *ctx, fz_page *page, float *duration) else duration = &dummy; if (page && page->page_presentation && page) - return page->page_presentation(ctx, page, duration); + return page->page_presentation(ctx, page, transition, duration); return NULL; } -- cgit v1.2.3