summaryrefslogtreecommitdiff
path: root/telepathy-glib/defs.h
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2011-08-05 12:46:26 +0200
committerXavier Claessens <xclaesse@gmail.com>2011-08-17 13:20:10 +0200
commit5c198ce94a977f430b898543ce8b8dc53cf74067 (patch)
tree5b32f518f97b7179fa6f459c655a4239ada44e95 /telepathy-glib/defs.h
parent798a3651a1549433290d1c1d7c9163cfafa912ec (diff)
downloadtelepathy-glib-5c198ce94a977f430b898543ce8b8dc53cf74067.tar.gz
Define _TP_GNUC_DEPRECATED_FOR() and use it where appropriate
Diffstat (limited to 'telepathy-glib/defs.h')
-rw-r--r--telepathy-glib/defs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/telepathy-glib/defs.h b/telepathy-glib/defs.h
index c2f411947..535e19937 100644
--- a/telepathy-glib/defs.h
+++ b/telepathy-glib/defs.h
@@ -146,8 +146,10 @@ G_BEGIN_DECLS
* deprecated bits of other libraries */
#ifdef _TP_IGNORE_DEPRECATIONS
#define _TP_GNUC_DEPRECATED /* nothing */
+#define _TP_GNUC_DEPRECATED_FOR(f) /* nothing */
#else
#define _TP_GNUC_DEPRECATED G_GNUC_DEPRECATED
+#define _TP_GNUC_DEPRECATED_FOR(f) G_GNUC_DEPRECATED_FOR(f)
#endif
G_END_DECLS