telepathy-glib: Enable SEAL by default if we warn for 0.20 deprecations
Xavier Claessens
xclaesse at kemper.freedesktop.org
Wed Jun 6 02:23:13 PDT 2012
Module: telepathy-glib
Branch: master
Commit: bf7e97c45adc04e46118aed0cd449bdc2fa84d6e
URL: http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=bf7e97c45adc04e46118aed0cd449bdc2fa84d6e
Author: Xavier Claessens <xavier.claessens at collabora.co.uk>
Date: Tue Jun 5 10:27:43 2012 +0200
Enable SEAL by default if we warn for 0.20 deprecations
---
telepathy-glib/defs.h | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/telepathy-glib/defs.h b/telepathy-glib/defs.h
index d7a36c6..16b80eb 100644
--- a/telepathy-glib/defs.h
+++ b/telepathy-glib/defs.h
@@ -286,8 +286,7 @@ G_BEGIN_DECLS
#endif
/* like G_SEAL */
-#if (defined (TP_SEAL_ENABLE) || defined (TP_DISABLE_DEPRECATED)) \
- && !defined (_TP_COMPILATION)
+#if (TP_VERSION_MIN_REQUIRED >= TP_VERSION_0_20) && !defined (_TP_COMPILATION)
# define _TP_SEAL(ident) _tp_sealed__ ## ident
#else
# define _TP_SEAL(ident) ident
More information about the telepathy-commits
mailing list