summaryrefslogtreecommitdiff
path: root/gio/src/tlsconnection.hg
diff options
context:
space:
mode:
authorKjell Ahlstedt <kjellahlstedt@gmail.com>2020-08-12 12:52:31 +0200
committerKjell Ahlstedt <kjellahlstedt@gmail.com>2020-08-12 12:52:31 +0200
commit2da4503d039da6a12cbd61cbbfea0af4ba572229 (patch)
tree1b5b9b34418ae73b1efcb0eb1a6ead58c956f582 /gio/src/tlsconnection.hg
parentbb806ba91b7c8ae08b721826996d877b748200b2 (diff)
downloadglibmm-2da4503d039da6a12cbd61cbbfea0af4ba572229.tar.gz
Rewrite Gio::Tls[Client,Server]ConnectionImpl
TlsConnection_Class::wrap_new() can wrap a C object in a TlsConnection, TlsClientConnectionImpl or TlsServerConnectionImpl depending on which interface, if any, the C object implements. No need for special wrap*() functions in Tls[Client,Server]Connection or SocketClient::signal_event(). This is similar to Gdk::DeviceWithPad.
Diffstat (limited to 'gio/src/tlsconnection.hg')
-rw-r--r--gio/src/tlsconnection.hg1
1 files changed, 1 insertions, 0 deletions
diff --git a/gio/src/tlsconnection.hg b/gio/src/tlsconnection.hg
index 12132a80..c7bcc832 100644
--- a/gio/src/tlsconnection.hg
+++ b/gio/src/tlsconnection.hg
@@ -40,6 +40,7 @@ class GIOMM_API TlsInteraction;
class GIOMM_API TlsConnection : public IOStream
{
_CLASS_GOBJECT(TlsConnection, GTlsConnection, G_TLS_CONNECTION, IOStream, GIOStream, , , GIOMM_API)
+ _CUSTOM_WRAP_NEW
protected:
_CTOR_DEFAULT