diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-07-06 13:15:49 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-07-06 15:49:55 +0200 |
commit | f0eabc17d6ec113c6e765ac3272f19623a6cbd4e (patch) | |
tree | 873d91bfbc610d70e571358550c59d24c8b64ed2 /source/fitz/document.c | |
parent | c3944e2e1cfb4ac86a8580829376357e1d5bccda (diff) | |
download | mupdf-f0eabc17d6ec113c6e765ac3272f19623a6cbd4e.tar.xz |
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.
Diffstat (limited to 'source/fitz/document.c')
-rw-r--r-- | source/fitz/document.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |