[X2Go-Commits] [libx2goclient] 01/04: src/x2goclient-network.c: hook up dispose and finalize function pointers.
git-admin at x2go.org
git-admin at x2go.org
Sat Jan 18 13:21:23 CET 2020
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository libx2goclient.
commit 2bcf9aed97edc2c808a9b54ac0b169ef674e1d11
Author: Mihai Moldovan <ionic at ionic.de>
Date: Sat Jan 18 11:12:00 2020 +0100
src/x2goclient-network.c: hook up dispose and finalize function pointers.
---
src/x2goclient-network.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/x2goclient-network.c b/src/x2goclient-network.c
index 20662fa..9d0ce6b 100644
--- a/src/x2goclient-network.c
+++ b/src/x2goclient-network.c
@@ -77,6 +77,8 @@ enum {
static GParamSpec *net_obj_properties[X2GO_NET_N_PROPERTIES] = { NULL, };
+static void x2goclient_network_dispose (GObject *object);
+static void x2goclient_network_finalize (GObject *object);
static void x2goclient_network_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *param_spec);
static void x2goclient_network_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *param_spec);
static GSocketAddress* x2goclient_network_parse_sockspec (X2GoClientNetwork *self, const GString *sockspec);
@@ -85,6 +87,9 @@ static GSocketAddress* x2goclient_network_parse_sockspec (X2GoClientNetwork *sel
static void x2goclient_network_class_init (X2GoClientNetworkClass *klass) {
GObjectClass *object_class = G_OBJECT_CLASS (klass);
+ object_class->dispose = &x2goclient_network_dispose;
+ object_class->finalize = &x2goclient_network_finalize;
+
object_class->set_property = &x2goclient_network_set_property;
object_class->get_property = &x2goclient_network_get_property;
--
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