diff options
author | Dan Winship <danw@gnome.org> | 2014-05-03 17:24:48 -0400 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2014-05-03 17:27:44 -0400 |
commit | 81e0a2f362383b827ae8cd092cb909a0c3c6dc04 (patch) | |
tree | de6f00f0cb4ee71cbaf85367bfb71739606aaec5 | |
parent | b2825257449446313265842920c35262f35d9063 (diff) |
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.)
-rw-r--r-- | gio/gdummytlsbackend.c | 2 |
1 files changed, 2 insertions, 0 deletions
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"); |