summaryrefslogtreecommitdiff
path: root/gck
diff options
context:
space:
mode:
authorCorentin Noël <corentin.noel@collabora.com>2021-10-06 18:45:39 +0200
committerCorentin Noël <corentin.noel@collabora.com>2021-11-16 22:48:57 +0100
commit9662beb3225636b169ed0e87c4085bd9d821740a (patch)
tree2a7baed0fc5ee273b0687bf9c75072e4e2b7ecf2 /gck
parent0319ca16692d8432045d689772904a826effd8c9 (diff)
downloadgcr-9662beb3225636b169ed0e87c4085bd9d821740a.tar.gz
gck: Fix several annotations
Diffstat (limited to 'gck')
-rw-r--r--gck/gck-attributes.c8
-rw-r--r--gck/gck-misc.c4
-rw-r--r--gck/gck-uri.c2
3 files changed, 7 insertions, 7 deletions
diff --git a/gck/gck-attributes.c b/gck/gck-attributes.c
index de10a67..33044a7 100644
--- a/gck/gck-attributes.c
+++ b/gck/gck-attributes.c
@@ -2226,7 +2226,7 @@ gck_attributes_find_date (GckAttributes *attrs, gulong attr_type, GDate *value)
*
* Reference this attributes array.
*
- * Returns: the attributes
+ * Returns: (transfer full): the attributes
**/
GckAttributes *
gck_attributes_ref (GckAttributes *attrs)
@@ -2256,9 +2256,9 @@ gck_attributes_ref (GckAttributes *attrs)
* All Gck library functions that assume ownership of floating references
* are documented as such. Essentially any Gck function that performs
* an operation using a #GckAttributes argument rather than operating on the
- * atributes themselves, will accept a floating reference.
+ * attributes themselves, will accept a floating reference.
*
- * Returns: the referenced attributes
+ * Returns: (transfer full): the referenced attributes
*/
GckAttributes *
gck_attributes_ref_sink (GckAttributes *attrs)
@@ -2277,7 +2277,7 @@ gck_attributes_ref_sink (GckAttributes *attrs)
/**
* gck_attributes_unref:
- * @attrs: (nullable) (type Gck.Attributes): An attribute array
+ * @attrs: (nullable) (type Gck.Attributes) (transfer full): An attribute array
*
* Unreference this attribute array.
*
diff --git a/gck/gck-misc.c b/gck/gck-misc.c
index ec664a2..e2fbbf8 100644
--- a/gck/gck-misc.c
+++ b/gck/gck-misc.c
@@ -404,7 +404,7 @@ _gck_ulong_equal (gconstpointer v1, gconstpointer v2)
* gck_value_to_ulong:
* @value: (array length=length): memory to convert
* @length: length of memory
- * @result: A location to store the result
+ * @result: (out): A location to store the result
*
* Convert `CK_ULONG` type memory to a boolean.
*
@@ -426,7 +426,7 @@ gck_value_to_ulong (const guchar *value,
* gck_value_to_boolean:
* @value: (array length=length): memory to convert
* @length: length of memory
- * @result: A location to store the result
+ * @result: (out): A location to store the result
*
* Convert `CK_BBOOL` type memory to a boolean.
*
diff --git a/gck/gck-uri.c b/gck/gck-uri.c
index bd524a4..ba92715 100644
--- a/gck/gck-uri.c
+++ b/gck/gck-uri.c
@@ -314,7 +314,7 @@ gck_uri_data_copy (GckUriData *uri_data)
/**
* gck_uri_data_free:
- * @uri_data: URI data to free.
+ * @uri_data: (transfer full): URI data to free.
*
* Free a #GckUriData.
*/