summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBilal Elmoussaoui <bil.elmoussaoui@gmail.com>2021-05-19 18:10:34 +0000
committerBilal Elmoussaoui <bil.elmoussaoui@gmail.com>2021-05-19 18:10:34 +0000
commitc5eb2f5d16de41388a0c59bf750c9641f75c6a7f (patch)
treef4503a37f356311990c0fbd2efe242961bb40529
parent7db87a8889d9151df61dafd7d188a89fe08f655f (diff)
downloadgtk+-c5eb2f5d16de41388a0c59bf750c9641f75c6a7f.tar.gz
gdk: annotate Content Serialize/Deserialize return_error
-rw-r--r--gdk/gdkcontentdeserializer.c2
-rw-r--r--gdk/gdkcontentserializer.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/gdk/gdkcontentdeserializer.c b/gdk/gdkcontentdeserializer.c
index 18cf043790..ba0908a47e 100644
--- a/gdk/gdkcontentdeserializer.c
+++ b/gdk/gdkcontentdeserializer.c
@@ -364,7 +364,7 @@ gdk_content_deserializer_return_success (GdkContentDeserializer *deserializer)
/**
* gdk_content_deserializer_return_error:
* @deserializer: a `GdkContentDeserializer`
- * @error: a `GError`
+ * @error: (transfer full): a `GError`
*
* Indicate that the deserialization has ended with an error.
*
diff --git a/gdk/gdkcontentserializer.c b/gdk/gdkcontentserializer.c
index 525f32475c..29f9b2d203 100644
--- a/gdk/gdkcontentserializer.c
+++ b/gdk/gdkcontentserializer.c
@@ -368,7 +368,7 @@ gdk_content_serializer_return_success (GdkContentSerializer *serializer)
/**
* gdk_content_serializer_return_error:
* @serializer: a `GdkContentSerializer`
- * @error: a `GError`
+ * @error: (transfer full): a `GError`
*
* Indicate that the serialization has ended with an error.
*