summaryrefslogtreecommitdiff
path: root/glib
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2022-01-24 00:50:30 +0100
committerAlbert Astals Cid <tsdgeos@yahoo.es>2022-02-01 23:30:15 +0000
commitb8dab63b747b61de6678d6e8cd852daebd44c27e (patch)
treed5d4d3b4b34e79b3afd24b79277262872c794a61 /glib
parent57c948fa0656ef3ec3cbf24581460da4a9441106 (diff)
Improve PDFDoc::getSignatureFields
Diffstat (limited to 'glib')
-rw-r--r--glib/poppler-document.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/poppler-document.cc b/glib/poppler-document.cc
index 787d05d8..c64eb58c 100644
--- a/glib/poppler-document.cc
+++ b/glib/poppler-document.cc
@@ -1783,7 +1783,7 @@ gint poppler_document_get_n_signatures(const PopplerDocument *document)
{
g_return_val_if_fail(POPPLER_IS_DOCUMENT(document), 0);
- return document->doc->getNumSignatureFields();
+ return document->doc->getSignatureFields().size();
}
/**