[balsa/wip/gtk4: 284/351] net-client: Simplify calling parent methods
- From: Peter Bloomfield <peterb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa/wip/gtk4: 284/351] net-client: Simplify calling parent methods
- Date: Wed, 23 May 2018 21:40:51 +0000 (UTC)
commit 3cda6bdde41b190e187fa05c30e7f97b1b7155bd
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Wed Apr 18 22:44:22 2018 -0400
net-client: Simplify calling parent methods
libnetclient/net-client.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libnetclient/net-client.c b/libnetclient/net-client.c
index 069095a..1bda622 100644
--- a/libnetclient/net-client.c
+++ b/libnetclient/net-client.c
@@ -528,7 +528,7 @@ net_client_dispose(GObject *object)
g_clear_object(&priv->certificate);
g_debug("disposed connection to %s", priv->host_and_port);
- (*parent_class->dispose)(object);
+ parent_class->dispose(object);
}
@@ -542,7 +542,7 @@ net_client_finalise(GObject *object)
g_debug("finalised connection to %s", priv->host_and_port);
g_free(priv->host_and_port);
- (*parent_class->finalize)(object);
+ parent_class->finalize(object);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]