[poppler] glib/poppler-document.cc
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon May 27 13:08:17 UTC 2019
glib/poppler-document.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit ce8f750d8dcd029dc5a3a60e2ac1d0b16fd27ebf
Author: Christian Persch <chpe at src.gnome.org>
Date: Sun May 26 18:50:38 2019 +0200
glib: Fix introspection for poppler_document_new_from_data
The API takes binary data, not an UTF-8 string.
https://gitlab.freedesktop.org/poppler/poppler/issues/448
diff --git a/glib/poppler-document.cc b/glib/poppler-document.cc
index 78a57b10..cd7e8ebf 100644
--- a/glib/poppler-document.cc
+++ b/glib/poppler-document.cc
@@ -223,7 +223,7 @@ poppler_document_new_from_file (const char *uri,
/**
* poppler_document_new_from_data:
- * @data: the pdf data contained in a char array
+ * @data: (array length=length) (element-type guint8): the pdf data
* @length: the length of #data
* @password: (allow-none): password to unlock the file with, or %NULL
* @error: (allow-none): Return location for an error, or %NULL
More information about the poppler
mailing list