summaryrefslogtreecommitdiff
path: root/glib
diff options
context:
space:
mode:
authorChristian Persch <chpe@src.gnome.org>2019-05-26 18:50:38 +0200
committerAlbert Astals Cid <tsdgeos@yahoo.es>2019-05-27 13:04:48 +0000
commitce8f750d8dcd029dc5a3a60e2ac1d0b16fd27ebf (patch)
tree58d36d3ecb1d94b53c84bbd5f4fc588ab7834c6f /glib
parent90ddcddc7f4ce7a8ad4a5d02a7c7a4b9872c383a (diff)
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
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 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