summaryrefslogtreecommitdiff
path: root/telepathy-glib/automatic-proxy-factory.c
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.co.uk>2012-05-16 13:10:31 +0200
committerXavier Claessens <xavier.claessens@collabora.co.uk>2012-07-03 13:46:41 +0200
commit50fdb9d38694d620dbe49ff00572df1e54454052 (patch)
treea058a7a7c34e8514119e33c3cec444b37af5f212 /telepathy-glib/automatic-proxy-factory.c
parentbe781d63238f4eb55a334508c6073101d01a4ab0 (diff)
downloadtelepathy-glib-50fdb9d38694d620dbe49ff00572df1e54454052.tar.gz
Deprecate tp_account_new(), tp_connection_new() and tp_*_channel_new()
Those proxies should be constructed using TpSimpleClientFactory https://bugs.freedesktop.org/show_bug.cgi?id=49372
Diffstat (limited to 'telepathy-glib/automatic-proxy-factory.c')
-rw-r--r--telepathy-glib/automatic-proxy-factory.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/telepathy-glib/automatic-proxy-factory.c b/telepathy-glib/automatic-proxy-factory.c
index 9af0939aa..3e526baa7 100644
--- a/telepathy-glib/automatic-proxy-factory.c
+++ b/telepathy-glib/automatic-proxy-factory.c
@@ -115,6 +115,9 @@ G_DEFINE_TYPE_WITH_CODE(TpAutomaticProxyFactory,
G_IMPLEMENT_INTERFACE (TP_TYPE_CLIENT_CHANNEL_FACTORY,
client_proxy_factory_iface_init))
+/* Deprecated module can use deprecated APIs */
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
+
static void
tp_automatic_proxy_factory_init (TpAutomaticProxyFactory *self)
{
@@ -299,3 +302,5 @@ tp_automatic_proxy_factory_dup (void)
return singleton;
}
+
+G_GNUC_END_IGNORE_DEPRECATIONS