summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--telepathy-glib/defs.h8
2 files changed, 10 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 33e9cd211..ec8d98fee 100644
--- a/NEWS
+++ b/NEWS
@@ -25,6 +25,8 @@ Deprecations:
• TP_ERRORS has officially been deprecated since 0.11; it now produces
deprecation warnings too.
+• Reimplementation of the RequestHandles method is deprecated.
+
Enhancements:
• <telepathy-glib/telepathy-glib.h> now includes all non-generated code
diff --git a/telepathy-glib/defs.h b/telepathy-glib/defs.h
index 7e6af8b47..df0405905 100644
--- a/telepathy-glib/defs.h
+++ b/telepathy-glib/defs.h
@@ -109,6 +109,14 @@ G_BEGIN_DECLS
# define _TP_DEPRECATED_IN_1_0_FOR(f) /* nothing */
#endif
+#if TP_VERSION_MIN_REQUIRED >= _TP_VERSION_CUR_STABLE
+# define _TP_DEPRECATED_IN_UNRELEASED _TP_DEPRECATED
+# define _TP_DEPRECATED_IN_UNRELEASED_FOR(f) _TP_DEPRECATED_FOR(f)
+#else
+# define _TP_DEPRECATED_IN_UNRELEASED /* nothing */
+# define _TP_DEPRECATED_IN_UNRELEASED_FOR(f) /* nothing */
+#endif
+
#if TP_VERSION_MAX_ALLOWED < TP_VERSION_0_16
# define _TP_AVAILABLE_IN_0_16 _TP_UNAVAILABLE(0, 16)
#else