diff options
author | Kjell Ahlstedt <kjellahlstedt@gmail.com> | 2019-01-28 10:12:22 +0100 |
---|---|---|
committer | Kjell Ahlstedt <kjellahlstedt@gmail.com> | 2019-01-28 10:12:22 +0100 |
commit | a730cf48834f0844a8eea0d50868629e4ca9a211 (patch) | |
tree | 5afa6ad6629c9166b5beb182222d2c7793367b21 /gio | |
parent | ce5bd4795f9ab7bdae2d2584cfc19d3cbf4a1ace (diff) | |
download | glibmm-a730cf48834f0844a8eea0d50868629e4ca9a211.tar.gz |
Gio::TlsClientConnection: Remove property_accepted_cas()
It does not work because there is no suitable Glib::Value<T> specialization.
get_accepted_cas() can be used instead.
Diffstat (limited to 'gio')
-rw-r--r-- | gio/src/tlsclientconnection.hg | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gio/src/tlsclientconnection.hg b/gio/src/tlsclientconnection.hg index 6eb87d9b..f5d0bce5 100644 --- a/gio/src/tlsclientconnection.hg +++ b/gio/src/tlsclientconnection.hg @@ -69,10 +69,11 @@ public: #m4 _CONVERSION(`GList*',`std::vector< Glib::RefPtr<const Glib::ByteArray> >',`Glib::ListHandler< Glib::RefPtr<const Glib::ByteArray> >::list_to_vector($3, Glib::OWNERSHIP_DEEP)') _WRAP_METHOD(std::vector< Glib::RefPtr<const Glib::ByteArray> > get_accepted_cas() const, g_tls_client_connection_get_accepted_cas) - _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>>) _WRAP_PROPERTY("server-identity", Glib::RefPtr<SocketConnectable>) _WRAP_PROPERTY("validation-flags", TlsCertificateFlags) _IGNORE_PROPERTY(use-ssl3) dnl// deprecated |