diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-07-07 14:06:10 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-07-08 17:21:23 +0200 |
commit | 5b029fe5752c11e8de2e683c857db547e90a45be (patch) | |
tree | cfa6ed22c7f4785bfd66a5f3741b5ff6567bc99e /source/pdf/pdf-annot-edit.c | |
parent | adc4932af62fde5e9eb1106f751659962cb89dc3 (diff) | |
download | mupdf-5b029fe5752c11e8de2e683c857db547e90a45be.tar.xz |
Slim pdf_annot struct: remove cached annot_type and widget_type fields.
Diffstat (limited to 'source/pdf/pdf-annot-edit.c')
-rw-r--r-- | source/pdf/pdf-annot-edit.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/pdf/pdf-annot-edit.c b/source/pdf/pdf-annot-edit.c index f4431414..95b41958 100644 --- a/source/pdf/pdf-annot-edit.c +++ b/source/pdf/pdf-annot-edit.c @@ -121,8 +121,6 @@ pdf_create_annot(fz_context *ctx, pdf_document *doc, pdf_page *page, fz_annot_ty annot = pdf_new_annot(ctx, page, &page_ctm, &inv_page_ctm); annot->ap = NULL; - annot->widget_type = PDF_WIDGET_TYPE_NOT_WIDGET; - annot->annot_type = type; /* Both annotation object and annotation structure are now created. |