summaryrefslogtreecommitdiff
path: root/telepathy-glib/basic-proxy-factory.h
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2012-05-02 18:49:08 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2012-05-02 20:19:35 +0100
commit2cc2520bcfa36c834dab111ebf41637bbfc8371f (patch)
tree17f9ed7c7ae3bdbfa839936bcec1b4c4073ff7ba /telepathy-glib/basic-proxy-factory.h
parentbf6922353b10e50b62ae7a26d9a727fe5f5bf763 (diff)
downloadtelepathy-glib-2cc2520bcfa36c834dab111ebf41637bbfc8371f.tar.gz
Use _TP_DEPRECATED_IN_* for most deprecated functions
Also make use of TP_DISABLE_DEPRECATED consistent: always wrap deprecated functions, and add deprecation decorators to any wrapped function.
Diffstat (limited to 'telepathy-glib/basic-proxy-factory.h')
-rw-r--r--telepathy-glib/basic-proxy-factory.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/telepathy-glib/basic-proxy-factory.h b/telepathy-glib/basic-proxy-factory.h
index a4e5797ca..c521d3e42 100644
--- a/telepathy-glib/basic-proxy-factory.h
+++ b/telepathy-glib/basic-proxy-factory.h
@@ -58,12 +58,13 @@ GType tp_basic_proxy_factory_get_type (void);
(G_TYPE_INSTANCE_GET_CLASS ((obj), TP_TYPE_BASIC_PROXY_FACTORY, \
TpBasicProxyFactoryClass))
-TpBasicProxyFactory * tp_basic_proxy_factory_new (void)
- _TP_GNUC_DEPRECATED_FOR (tp_simple_client_factory_new);
+#ifndef TP_DISABLE_DEPRECATED
+_TP_DEPRECATED_IN_0_16_FOR (tp_simple_client_factory_new)
+TpBasicProxyFactory * tp_basic_proxy_factory_new (void);
-
-TpBasicProxyFactory * tp_basic_proxy_factory_dup (void)
- _TP_GNUC_DEPRECATED_FOR (tp_simple_client_factory_new);
+_TP_DEPRECATED_IN_0_16_FOR (tp_simple_client_factory_new)
+TpBasicProxyFactory * tp_basic_proxy_factory_dup (void);
+#endif
G_END_DECLS