diff --git a/gio/gdatainputstream.c b/gio/gdatainputstream.c
index 3753bd8..3a47904 100644
--- a/gio/gdatainputstream.c
+++ b/gio/gdatainputstream.c
@@ -1291,7 +1291,7 @@ g_data_input_stream_read_until_finish (GDataInputStream  *stream,
 /**
  * g_data_input_stream_read_upto:
  * @stream: a #GDataInputStream
- * @stop_chars: characters to terminate the read
+ * @stop_chars: (array length=stop_chars_len): characters to terminate the read
  * @stop_chars_len: length of @stop_chars. May be -1 if @stop_chars is
  *     nul-terminated
  * @length: (out): a #gsize to get the length of the data read in
@@ -1383,7 +1383,7 @@ g_data_input_stream_read_upto (GDataInputStream  *stream,
 /**
  * g_data_input_stream_read_upto_async:
  * @stream: a #GDataInputStream
- * @stop_chars: characters to terminate the read
+ * @stop_chars: (array length=stop_chars_len): characters to terminate the read
  * @stop_chars_len: length of @stop_chars. May be -1 if @stop_chars is
  *     nul-terminated
  * @io_priority: the [I/O priority][io-priority] of the request
diff --git a/gio/gdbuserror.c b/gio/gdbuserror.c
index 8dd4b71..395aa9d 100644
--- a/gio/gdbuserror.c
+++ b/gio/gdbuserror.c
@@ -172,7 +172,7 @@ g_dbus_error_quark (void)
  * g_dbus_error_register_error_domain:
  * @error_domain_quark_name: The error domain name.
  * @quark_volatile: A pointer where to store the #GQuark.
- * @entries: A pointer to @num_entries #GDBusErrorEntry struct items.
+ * @entries: (array length=num_entries): A pointer to @num_entries #GDBusErrorEntry struct items.
  * @num_entries: Number of items to register.
  *
  * Helper function for associating a #GError error domain with D-Bus error names.
diff --git a/gio/gdbusutils.c b/gio/gdbusutils.c
index 4e17749..810c540 100644
--- a/gio/gdbusutils.c
+++ b/gio/gdbusutils.c
@@ -313,7 +313,7 @@ g_dbus_generate_guid (void)
 
 /**
  * g_dbus_is_guid:
- * @string: The string to check.
+ * @string: (array fixed-size=33): The string to check.
  *
  * Checks if @string is a D-Bus GUID.
  *
diff --git a/gio/gtlspassword.c b/gio/gtlspassword.c
index 57e60ac..8b18a3f 100644
--- a/gio/gtlspassword.c
+++ b/gio/gtlspassword.c
@@ -264,7 +264,7 @@ g_tls_password_get_value (GTlsPassword  *password,
 /**
  * g_tls_password_set_value:
  * @password: a #GTlsPassword object
- * @value: the new password value
+ * @value: (array length=length) the new password value
  * @length: the length of the password, or -1
  *
  * Set the value for this password. The @value will be copied by the password
