From 81e0a2f362383b827ae8cd092cb909a0c3c6dc04 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Sat, 3 May 2014 17:24:48 -0400 Subject: gio: add a missing property to GDummyTlsConnection GDummyTlsConnection didn't implement the "interaction" property, meaning you'd get warnings if you tried to set it while creating a GTlsConnection when using the dummy backend. (Of course, trying to create the GTlsConnection will fail anyway, but it ought to fail without hitting any g_warnings.) --- gio/gdummytlsbackend.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gio/gdummytlsbackend.c b/gio/gdummytlsbackend.c index 974da2511..9b390965e 100644 --- a/gio/gdummytlsbackend.c +++ b/gio/gdummytlsbackend.c @@ -222,6 +222,7 @@ enum PROP_CONN_REHANDSHAKE_MODE, PROP_CONN_CERTIFICATE, PROP_CONN_DATABASE, + PROP_CONN_INTERACTION, PROP_CONN_PEER_CERTIFICATE, PROP_CONN_PEER_CERTIFICATE_ERRORS, PROP_CONN_VALIDATION_FLAGS, @@ -286,6 +287,7 @@ g_dummy_tls_connection_class_init (GDummyTlsConnectionClass *connection_class) g_object_class_override_property (gobject_class, PROP_CONN_REHANDSHAKE_MODE, "rehandshake-mode"); g_object_class_override_property (gobject_class, PROP_CONN_CERTIFICATE, "certificate"); g_object_class_override_property (gobject_class, PROP_CONN_DATABASE, "database"); + g_object_class_override_property (gobject_class, PROP_CONN_INTERACTION, "interaction"); g_object_class_override_property (gobject_class, PROP_CONN_PEER_CERTIFICATE, "peer-certificate"); g_object_class_override_property (gobject_class, PROP_CONN_PEER_CERTIFICATE_ERRORS, "peer-certificate-errors"); g_object_class_override_property (gobject_class, PROP_CONN_VALIDATION_FLAGS, "validation-flags"); -- cgit v1.2.3