[X2Go-Commits] [libx2goclient] 129/132: src/x2goclient-utils.c: add missing transfer return annotation to x2goclient_strbrk_dup () documentation.

git-admin at x2go.org git-admin at x2go.org
Fri Dec 3 15:26:37 CET 2021


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository libx2goclient.

commit 57b02cc7c9991fed96a66eadd8f0635759067999
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Fri Dec 3 13:43:54 2021 +0100

    src/x2goclient-utils.c: add missing transfer return annotation to x2goclient_strbrk_dup () documentation.
---
 src/x2goclient-utils.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/x2goclient-utils.c b/src/x2goclient-utils.c
index dce7288..78859b9 100644
--- a/src/x2goclient-utils.c
+++ b/src/x2goclient-utils.c
@@ -221,10 +221,10 @@ long long int x2goclient_str_to_int (const gchar * const restrict str, const _Bo
  *      occurrence of @needle returned. @new_size will be set to the truncated
  *      size iff it is not %NULL.
  *
- * Returns: either a copy of the original string up until the first occurrence
- *          of @needle or the value pointed to by @haystack (i.e., the
- *          original string) if @needle was not found, unless an error
- *          occurred
+ * Returns: (transfer full): either a copy of the original string up until the
+ *                           first occurrence of @needle or the value pointed
+ *                           to by @haystack (i.e., the original string) if
+ *                           @needle was not found, unless an error occurred
  *
  * Since: 0.0.0
  */

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/libx2goclient.git


More information about the x2go-commits mailing list