diff --git a/glib/poppler-document.cc b/glib/poppler-document.cc
index e845bc12..e1080ab9 100644
--- a/glib/poppler-document.cc
+++ b/glib/poppler-document.cc
@@ -213,7 +213,7 @@ poppler_document_new_from_file (const char  *uri,
 
 /**
  * poppler_document_new_from_data:
- * @data: the pdf data contained in a char array
+ * @data:(type GLib.Bytes) :the pdf data contained in a char array
  * @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
