summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjell Ahlstedt <kjellahlstedt@gmail.com>2019-03-18 16:55:42 +0100
committerKjell Ahlstedt <kjellahlstedt@gmail.com>2019-03-18 16:55:42 +0100
commit19f83b92643f7f38c3c5e2e699488024813a33e7 (patch)
treef0155650377553dcdc94623970a62a93bfc10a6f
parent68c3e73996ee747c5ca777d67a87b1781d33f236 (diff)
downloadglibmm-19f83b92643f7f38c3c5e2e699488024813a33e7.tar.gz
Gio::TlsClientConnection: Deprecate property_accepted_cas()
It does not work because there is no suitable Glib::Value<T> specialization. get_accepted_cas() can be used instead.
-rw-r--r--gio/src/tlsclientconnection.hg5
1 files changed, 4 insertions, 1 deletions
diff --git a/gio/src/tlsclientconnection.hg b/gio/src/tlsclientconnection.hg
index c1e338f7..5937a82d 100644
--- a/gio/src/tlsclientconnection.hg
+++ b/gio/src/tlsclientconnection.hg
@@ -71,7 +71,10 @@ public:
_WRAP_METHOD(void copy_session_state(const Glib::RefPtr<TlsClientConnection>& source), g_tls_client_connection_copy_session_state)
- _WRAP_PROPERTY("accepted-cas", std::vector< Glib::RefPtr<Glib::ByteArray> >)
+ // property_accepted_cas() won't work unless a Glib::Value<std::vector<Glib::RefPtr<Glib::ByteArray>>>
+ // specialization is added. Workaround: Use get_accepted_cas().
+ _WRAP_PROPERTY("accepted-cas", std::vector< Glib::RefPtr<Glib::ByteArray> >,
+ deprecated "property_accepted_cas() does not work. Use get_accepted_cas() instead.")
_WRAP_PROPERTY("server-identity", Glib::RefPtr<SocketConnectable>)
_WRAP_PROPERTY("use-ssl3", bool, deprecated "SSL 3.0 is insecure, and this property does not generally enable or disable it, despite its name.")
_WRAP_PROPERTY("validation-flags", TlsCertificateFlags)