[glibmm/glibmm-2-54] Gio::TlsClientConnection: Disable deprecation warnings from glib
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm/glibmm-2-54] Gio::TlsClientConnection: Disable deprecation warnings from glib
- Date: Thu, 18 Jan 2018 14:06:56 +0000 (UTC)
commit 2b00623deec3b535f308416b0a1d9a2b4751ff9a
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date: Thu Jan 18 15:04:37 2018 +0100
Gio::TlsClientConnection: Disable deprecation warnings from glib
g_tls_client_connection_[set|get]_use_ssl3() and the use-ssl3 property
have been deprecated in glib/gio. They can't be deprecated in the stable
glibmm-2-54 branch now. This patch makes it possible to build glibmm-2.54.x
against the newest glib.
gio/src/tlsclientconnection.hg | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/gio/src/tlsclientconnection.hg b/gio/src/tlsclientconnection.hg
index 40af030..5c5ba9d 100644
--- a/gio/src/tlsclientconnection.hg
+++ b/gio/src/tlsclientconnection.hg
@@ -22,6 +22,13 @@ _DEFS(giomm,gio)
_PINCLUDE(glibmm/private/interface_p.h)
_PINCLUDE(gio/gio.h)
+//TODO: When we can deprecate API in the glibmm-2.4 ABI, deprecate set/get/property_use_sll3()
+// and remove the following 4 lines.
+#m4 _PUSH(SECTION_CC_PRE_INCLUDES)
+#undef G_DISABLE_DEPRECATED
+#define GLIB_DISABLE_DEPRECATION_WARNINGS 1
+#m4 _POP()
+
#ifndef DOXYGEN_SHOULD_SKIP_THIS
typedef struct _GTlsClientConnectionInterface GTlsClientConnectionInterface;
#endif /* DOXYGEN_SHOULD_SKIP_THIS */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]