[glibmm] Gio::TlsClientConnection: Remove property_accepted_cas()
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm] Gio::TlsClientConnection: Remove property_accepted_cas()
- Date: Mon, 28 Jan 2019 09:15:54 +0000 (UTC)
commit a730cf48834f0844a8eea0d50868629e4ca9a211
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date: Mon Jan 28 10:12:22 2019 +0100
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.
gio/src/tlsclientconnection.hg | 5 +++--
1 file 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]