[evolution-data-server/wip/camel-more-gobject] Fix some annotations having a double colons.



commit 64839add0b80ba4950a32444d564439ea41f024e
Author: Corentin Noël <corentin elementary io>
Date:   Sat Sep 3 20:30:40 2016 +0200

    Fix some annotations having a double colons.

 camel/camel-message-info.c |   20 ++++++++++----------
 camel/camel-mime-utils.c   |   12 ++++++------
 2 files changed, 16 insertions(+), 16 deletions(-)
---
diff --git a/camel/camel-message-info.c b/camel/camel-message-info.c
index 179b0e9..14b465a 100644
--- a/camel/camel-message-info.c
+++ b/camel/camel-message-info.c
@@ -1235,7 +1235,7 @@ xcamel_message_info_dup_user_flags (const xCamelMessageInfo *mi)
 /**
  * xcamel_message_info_take_user_flags:
  * @mi: a #CamelMessageInfo
- * @user_flags: (transfer full): (nullable): user flags to set
+ * @user_flags: (transfer full) (nullable): user flags to set
  *
  * Takes all the @user_flags, which replaces any current user flags on the @mi.
  * The passed-in @user_flags is consumed by the @mi, which becomes an owner
@@ -1282,7 +1282,7 @@ xcamel_message_info_take_user_flags (xCamelMessageInfo *mi,
  * @mi: a #CamelMessageInfo
  * @name: user tag name
  *
- * Returns: (transfer none): (nullable): Value of the user tag, or %NULL when
+ * Returns: (transfer none) (nullable): Value of the user tag, or %NULL when
  *   it is not set.
  *
  * Since: 3.24
@@ -1312,7 +1312,7 @@ xcamel_message_info_get_user_tag (const xCamelMessageInfo *mi,
  * xcamel_message_info_dup_user_tag:
  * @mi: a #CamelMessageInfo
  *
- * Returns: (transfer full): (nullable): Value of the user tag as newly allocated
+ * Returns: (transfer full) (nullable): Value of the user tag as newly allocated
  *   string, or %NULL when it is not set. Free it with g_free() when no longer needed.
  *
  * Since: 3.24
@@ -1410,7 +1410,7 @@ xcamel_message_info_dup_user_tags (const xCamelMessageInfo *mi)
 /**
  * xcamel_message_info_take_user_tags:
  * @mi: a #CamelMessageInfo
- * @user_tags: (transfer full): (nullable): user tags to set
+ * @user_tags: (transfer full) (nullable): user tags to set
  *
  * Takes all the @user_tags, which replaces any current user tags on the @mi.
  * The passed-in @user_tags is consumed by the @mi, which becomes an owner
@@ -2184,7 +2184,7 @@ xcamel_message_info_set_message_id (xCamelMessageInfo *mi,
  * message as an array of guint64 numbers, partial MD5 sums. Each value
  * can be cast to #CamelSummaryMessageID.
  *
- * Returns: (transfer none): (nullable): A #GArray of guint64 encoded
+ * Returns: (transfer none) (nullable): A #GArray of guint64 encoded
  *   Message-ID-s; or %NULL when none are available.
  *
  * Since: 3.24
@@ -2216,7 +2216,7 @@ xcamel_message_info_get_references (const xCamelMessageInfo *mi)
  * message as an array of guint64 numbers, partial MD5 sums. Each value
  * can be cast to #CamelSummaryMessageID.
  *
- * Returns: (transfer full): (nullable): A #GArray of guint64 encoded
+ * Returns: (transfer full) (nullable): A #GArray of guint64 encoded
  *   Message-ID-s; or %NULL when none are available. Free returned array
  *   with g_array_unref() when no longer needed.
  *
@@ -2250,7 +2250,7 @@ xcamel_message_info_dup_references (const xCamelMessageInfo *mi)
 /**
  * xcamel_message_info_take_references:
  * @mi: a #xCamelMessageInfo
- * @references: (transfer full): (nullable): a references to set
+ * @references: (transfer full) (nullable): a references to set
  *
  * Takes encoded In-Reply-To and References headers of the associated message
  * as an array of guint64 numbers, partial MD5 sums. Each value can be
@@ -2298,7 +2298,7 @@ xcamel_message_info_take_references (xCamelMessageInfo *mi,
  * xcamel_message_info_get_headers:
  * @mi: a #CamelMessageInfo
  *
- * Returns: (transfer none): (nullable): All the message headers of the associated
+ * Returns: (transfer none) (nullable): All the message headers of the associated
  *   message, or %NULL, when none are available.
  *
  * Since: 3.24
@@ -2328,7 +2328,7 @@ xcamel_message_info_get_headers (const xCamelMessageInfo *mi)
  *
  * Duplicates array of headers for the @mi.
  *
- * Returns: (transfer full): (nullable): All the message headers of the associated
+ * Returns: (transfer full) (nullable): All the message headers of the associated
  *   message, or %NULL, when none are available. Free returned array with
  *   camel_name_value_array_free() when no longer needed.
  *
@@ -2357,7 +2357,7 @@ xcamel_message_info_dup_headers (const xCamelMessageInfo *mi)
 /**
  * xcamel_message_info_take_headers:
  * @mi: a #xCamelMessageInfo
- * @headers: (transfer full): (nullable): headers to set, as #CamelNameValueArray, or %NULL
+ * @headers: (transfer full) (nullable): headers to set, as #CamelNameValueArray, or %NULL
  *
  * Takes headers of the associated message.
  *
diff --git a/camel/camel-mime-utils.c b/camel/camel-mime-utils.c
index 8b66b60..5e6396a 100644
--- a/camel/camel-mime-utils.c
+++ b/camel/camel-mime-utils.c
@@ -253,8 +253,8 @@ camel_name_value_array_length (const CamelNameValueArray *array)
  * camel_name_value_array_get:
  * @array: a #CamelNameValueArray
  * @index: an index
- * @out_name: (out): (nullable): A place to store the name of the element, or %NULL
- * @out_value: (out): (nullable): A place to store the value of the element, or %NULL
+ * @out_name: (out) (nullable): A place to store the name of the element, or %NULL
+ * @out_value: (out) (nullable): A place to store the value of the element, or %NULL
  *
  * Returns the name and the value of the element at index @index. Either
  * of the @out_name and @out_value can be %NULL, to not return that part.
@@ -320,7 +320,7 @@ camel_name_value_array_find_named (const CamelNameValueArray *array,
  * is no element of such @name in the @array. The @case_sensitive determines
  * whether compare names case sensitively (%TRUE) or insensitively (%FALSE).
  *
- * Returns: (transfer-none): (nullable): Value of the first element named @name, or %NULL.
+ * Returns: (transfer-none) (nullable): Value of the first element named @name, or %NULL.
  *
  * See: camel_name_value_array_get, camel_name_value_array_get_name
  *
@@ -350,7 +350,7 @@ camel_name_value_array_get_named (const CamelNameValueArray *array,
  *
  * Returns the name of the element at index @index.
  *
- * Returns: (transfer-none): (nullable): Name of the element at the given @index,
+ * Returns: (transfer-none) (nullable): Name of the element at the given @index,
  *    or %NULL on error.
  *
  * See: camel_name_value_array_get, camel_name_value_array_get_value
@@ -379,7 +379,7 @@ camel_name_value_array_get_name (const CamelNameValueArray *array,
  *
  * Returns the value of the element at index @index.
  *
- * Returns: (transfer-none): (nullable): Value of the element at the given @index,
+ * Returns: (transfer-none) (nullable): Value of the element at the given @index,
  *    or %NULL on error.
  *
  * See: camel_name_value_array_get, camel_name_value_array_get_name
@@ -907,7 +907,7 @@ camel_named_flags_length (const CamelNamedFlags *named_flags)
  * @named_flags: a #CamelNamedFlags
  * @index: an index of an element
  *
- * Returns: (transfer-none): (nullable): Name of the flag in at the given @index,
+ * Returns: (transfer-none) (nullable): Name of the flag in at the given @index,
  *   or %NULL on error.
  *
  * Since: 3.24


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]