[X2Go-Commits] [libx2goclient] 117/132: src/x2goclient-network-options-ssh.c: add missing x2goclient_network_options_ssh_new () function.
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 317d9e7c57872fa11317f5b69770bfd9d7be4e5e
Author: Mihai Moldovan <ionic at ionic.de>
Date: Fri Nov 5 04:09:26 2021 +0100
src/x2goclient-network-options-ssh.c: add missing x2goclient_network_options_ssh_new () function.
---
src/x2goclient-network-options-ssh.c | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/src/x2goclient-network-options-ssh.c b/src/x2goclient-network-options-ssh.c
index 7e3b3b4..16981c1 100644
--- a/src/x2goclient-network-options-ssh.c
+++ b/src/x2goclient-network-options-ssh.c
@@ -79,6 +79,20 @@ static void x2goclient_network_options_ssh_init (X2GoClientNetworkOptionsSSH * c
(void) self;
}
+/**
+ * x2goclient_network_options_ssh_new:
+ *
+ * Creates a new #X2GoClientNetworkOptionsSSH instance with all options
+ * disabled by default.
+ *
+ * Returns: (transfer full): the new #X2GoClientNetworkOptionsSSH instance
+ *
+ * Since: 0.0.0
+ */
+X2GoClientNetworkOptionsSSH* x2goclient_network_options_ssh_new (void) {
+ return (g_object_new (X2GOCLIENT_TYPE_NETWORK_OPTIONS_SSH, NULL));
+}
+
/**
* x2goclient_network_options_ssh_to_array:
* @self: (not optional): pointer to an #X2GoClientNetworkOptionsSSH instance.
--
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