summaryrefslogtreecommitdiff
path: root/lib/colord
diff options
context:
space:
mode:
Diffstat (limited to 'lib/colord')
-rw-r--r--lib/colord/cd-buffer.c2
-rw-r--r--lib/colord/cd-dom.c2
-rw-r--r--lib/colord/cd-it8.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/lib/colord/cd-buffer.c b/lib/colord/cd-buffer.c
index 1cdae08..f26f09b 100644
--- a/lib/colord/cd-buffer.c
+++ b/lib/colord/cd-buffer.c
@@ -167,7 +167,7 @@ cd_buffer_read_uint32_le (const guint8 *buffer)
/**
* cd_buffer_debug:
* @buffer_kind: the debug mode, e.g %CD_BUFFER_KIND_REQUEST
- * @data: the data of size @length
+ * @data: (array length=length): the data of size @length
* @length: the size of data
*
* Prints some debugging of the request to the console.
diff --git a/lib/colord/cd-dom.c b/lib/colord/cd-dom.c
index 7d83bc8..110e912 100644
--- a/lib/colord/cd-dom.c
+++ b/lib/colord/cd-dom.c
@@ -199,7 +199,7 @@ cd_dom_text_cb (GMarkupParseContext *context,
/**
* cd_dom_parse_xml_data:
* @dom: a #CdDom instance.
- * @data: XML data
+ * @data: (array length=data_len): XML data
* @data_len: Length of @data, or -1 if NULL terminated
* @error: A #GError or %NULL
*
diff --git a/lib/colord/cd-it8.c b/lib/colord/cd-it8.c
index b71ad39..cd91783 100644
--- a/lib/colord/cd-it8.c
+++ b/lib/colord/cd-it8.c
@@ -828,7 +828,7 @@ cd_it8_has_option (CdIt8 *it8, const gchar *option)
/**
* cd_it8_load_from_data:
* @it8: a #CdIt8 instance.
- * @data: text data
+ * @data: (array length=size): text data
* @size: the size of text data
* @error: a #GError, or %NULL
*
@@ -1347,7 +1347,7 @@ cd_it8_save_to_file_ccss_sp (CdIt8 *it8, cmsHANDLE it8_lcms, GError **error)
/**
* cd_it8_save_to_data:
* @it8: a #CdIt8 instance.
- * @data: a pointer to returned data
+ * @data: (array length=size): a pointer to returned data
* @size: size of @data
* @error: a #GError, or %NULL
*