summaryrefslogtreecommitdiff
path: root/glib/poppler-document.cc
diff options
context:
space:
mode:
Diffstat (limited to 'glib/poppler-document.cc')
-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 fd764d86..710a5b38 100644
--- a/glib/poppler-document.cc
+++ b/glib/poppler-document.cc
@@ -2493,7 +2493,7 @@ poppler_document_get_form_field (PopplerDocument *document,
if (!page)
return NULL;
- widgets = page->getPageWidgets ();
+ widgets = page->getFormWidgets (document->doc->getCatalog ());
if (!widgets)
return NULL;