From 5b029fe5752c11e8de2e683c857db547e90a45be Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 7 Jul 2016 14:06:10 +0200 Subject: Slim pdf_annot struct: remove cached annot_type and widget_type fields. --- source/pdf/pdf-annot-edit.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'source/pdf/pdf-annot-edit.c') 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. -- cgit v1.2.3