[X2Go-Commits] [libx2goclient] 122/132: src/x2goclient-{network-{ssh, stub}, openssh-version}.c: remove (transfer full) annotation for basic data types/return by value.
git-admin at x2go.org
git-admin at x2go.org
Fri Dec 3 15:26:36 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 318ccb8bb2f0b3f6bd379e0d39b4d52cf5e1278b
Author: Mihai Moldovan <ionic at ionic.de>
Date: Fri Dec 3 13:10:18 2021 +0100
src/x2goclient-{network-{ssh,stub},openssh-version}.c: remove (transfer full) annotation for basic data types/return by value.
---
src/x2goclient-network-ssh.c | 30 ++++++++++--------------------
src/x2goclient-network-stub.c | 6 ++----
src/x2goclient-openssh-version.c | 4 ++--
3 files changed, 14 insertions(+), 26 deletions(-)
diff --git a/src/x2goclient-network-ssh.c b/src/x2goclient-network-ssh.c
index 8c11e7f..0484135 100644
--- a/src/x2goclient-network-ssh.c
+++ b/src/x2goclient-network-ssh.c
@@ -1181,8 +1181,7 @@ gboolean x2goclient_network_ssh_connect (X2GoClientNetworkSSH * const self, GErr
* for #X2GoClientNetworkSSH objects, should be functionally equivalent to
* calling x2goclient_network_ssh_connect() directly.
*
- * Returns: (transfer full): a #gboolean value indicating success (%TRUE) or
- * failure (%FALSE).
+ * Returns: a #gboolean value indicating success (%TRUE) or failure (%FALSE).
*
* Since: 0.0.0
*/
@@ -1424,8 +1423,7 @@ gboolean x2goclient_network_ssh_disconnect (X2GoClientNetworkSSH * const self, G
* should be functionally equivalent to calling
* x2goclient_network_ssh_disconnect() directly.
*
- * Returns: (transfer full): a #gboolean value indicating success (%TRUE) or
- * failure (%FALSE).
+ * Returns: a #gboolean value indicating success (%TRUE) or failure (%FALSE).
*
* Since: 0.0.0
*/
@@ -1502,8 +1500,7 @@ static gboolean x2goclient_network_ssh_parent_disconnect (const gpointer ptr, GE
* Fetches the OpenSSH client version and updates the read-only
* #X2GoClientNetworkSSH:openssh-version property.
*
- * Returns: (transfer full): a #gboolean value indicating success (%TRUE) or
- * failure (%FALSE).
+ * Returns: a #gboolean value indicating success (%TRUE) or failure (%FALSE).
*
* Since: 0.0.0
*/
@@ -1625,8 +1622,7 @@ static void x2goclient_network_ssh_log_std_str (const gchar * const str, const g
* Elements in @arr must be strings. %NULL elements are explicitly allowed and
* will be mapped to an internal representation: <literal>(NULL)</literal>.
*
- * Returns: (transfer full): a #gboolean value indicating success (%TRUE) or
- * failure (%FALSE).
+ * Returns: a #gboolean value indicating success (%TRUE) or failure (%FALSE).
*
* Since: 0.0.0
*/
@@ -1833,8 +1829,7 @@ static void x2goclient_network_ssh_gptrarray_print_debug (GPtrArray * const arr,
* Likewise, a port may have not been explicitly provided, indicated by the
* port number 0 internally. In such cases, no port option is added.
*
- * Returns: (transfer full): a #gboolean value indicating success (%TRUE) or
- * failure (%FALSE).
+ * Returns: a #gboolean value indicating success (%TRUE) or failure (%FALSE).
*
* Since: 0.0.0
*/
@@ -1954,8 +1949,7 @@ static gboolean x2goclient_network_ssh_sshcmd_add_host_port (X2GoClientNetworkSS
* queried (as buffered by glib) and subsequently printed to the debug log
* level.
*
- * Returns: (transfer full): a #gboolean value indicating success (%TRUE) or
- * failure (%FALSE).
+ * Returns: a #gboolean value indicating success (%TRUE) or failure (%FALSE).
*
* Since: 0.0.0
*/
@@ -2183,8 +2177,7 @@ static gpointer x2goclient_network_ssh_check_timeout_thread_main (const gpointer
*
* This function will execute in the main thread.
*
- * Returns: (transfer full): a #gboolean value indicating success (%TRUE) or
- * failure (%FALSE).
+ * Returns: a #gboolean value indicating success (%TRUE) or failure (%FALSE).
*
* Since: 0.0.0
*/
@@ -2247,8 +2240,7 @@ static void x2goclient_network_ssh_start_check_timeout_invoke (X2GoClientNetwork
*
* This function will execute in the check thread.
*
- * Returns: (transfer full): a #gboolean value indicating success (%TRUE) or
- * failure (%FALSE).
+ * Returns: a #gboolean value indicating success (%TRUE) or failure (%FALSE).
*
* Since: 0.0.0
*/
@@ -2277,8 +2269,7 @@ static gboolean x2goclient_network_ssh_start_check_timeout_unwrap (const gpointe
*
* This function will execute in the check thread.
*
- * Returns: (transfer full): a #gboolean value indicating success (%TRUE) or
- * failure (%FALSE).
+ * Returns: a #gboolean value indicating success (%TRUE) or failure (%FALSE).
*
* Since: 0.0.0
*/
@@ -2341,8 +2332,7 @@ static gboolean x2goclient_network_ssh_start_check_timeout_real (X2GoClientNetwo
*
* This function will execute in the check thread.
*
- * Returns: (transfer full): a #gboolean value indicating success (%TRUE) or
- * failure (%FALSE).
+ * Returns: a #gboolean value indicating success (%TRUE) or failure (%FALSE).
*
* Since: 0.0.0
*/
diff --git a/src/x2goclient-network-stub.c b/src/x2goclient-network-stub.c
index 5e35eed..5b3ac41 100644
--- a/src/x2goclient-network-stub.c
+++ b/src/x2goclient-network-stub.c
@@ -210,8 +210,7 @@ gboolean x2goclient_network_stub_connect (X2GoClientNetworkStub * const self, GE
* should be functionally equivalent to calling
* x2goclient_network_stub_connect() directly.
*
- * Returns: (transfer full): a #gboolean value indicating success (%TRUE) or
- * failure (%FALSE).
+ * Returns: a #gboolean value indicating success (%TRUE) or failure (%FALSE).
*
* Since: 0.0.0
*/
@@ -306,8 +305,7 @@ gboolean x2goclient_network_stub_disconnect (X2GoClientNetworkStub * const self,
* should be functionally equivalent to calling
* x2goclient_network_stub_disconnect() directly.
*
- * Returns: (transfer full): a #gboolean value indicating success (%TRUE) or
- * failure (%FALSE).
+ * Returns: a #gboolean value indicating success (%TRUE) or failure (%FALSE).
*
* Since: 0.0.0
*/
diff --git a/src/x2goclient-openssh-version.c b/src/x2goclient-openssh-version.c
index 5d94413..0bf343b 100644
--- a/src/x2goclient-openssh-version.c
+++ b/src/x2goclient-openssh-version.c
@@ -637,8 +637,8 @@ _Bool x2goclient_openssh_version_parse (X2GoClientOpenSSHVersion * const openssh
* Fetches the OpenSSH version string as returned by <command>ssh -V</command>
* and parses this output into an #X2GoClientOpenSSHVersion structure.
*
- * Returns: the populated #X2GoClientOpenSSHVersion structure on success or
- * %NULL on error.
+ * Returns: (transfer full): the populated #X2GoClientOpenSSHVersion structure
+ * on success or %NULL on error.
*
* 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