telepathy-glib: deprecate tp_account_is_prepared()
Guillaume Desmottes
gdesmott at kemper.freedesktop.org
Fri Sep 27 06:13:19 PDT 2013
Module: telepathy-glib
Branch: master
Commit: 419de7023bc42c1c5fa7cab3a9bea7e62869d671
URL: http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=419de7023bc42c1c5fa7cab3a9bea7e62869d671
Author: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Date: Fri Sep 27 15:08:04 2013 +0200
deprecate tp_account_is_prepared()
It's obsolete since a while and we removed it in 1.0.
---
telepathy-glib/account.c | 1 +
telepathy-glib/account.h | 3 +++
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/telepathy-glib/account.c b/telepathy-glib/account.c
index 0ad6d83..26d9793 100644
--- a/telepathy-glib/account.c
+++ b/telepathy-glib/account.c
@@ -3651,6 +3651,7 @@ tp_account_get_avatar_finish (TpAccount *account,
* Returns: the same thing as tp_proxy_is_prepared()
*
* Since: 0.9.0
+ * Deprecated: since 0.UNRELEASED, use tp_proxy_is_prepared() instead.
*/
gboolean
tp_account_is_prepared (TpAccount *account,
diff --git a/telepathy-glib/account.h b/telepathy-glib/account.h
index faf2492..3a0c6c4 100644
--- a/telepathy-glib/account.h
+++ b/telepathy-glib/account.h
@@ -250,7 +250,10 @@ void tp_account_get_avatar_async (TpAccount *account,
const GArray *tp_account_get_avatar_finish (TpAccount *account,
GAsyncResult *result, GError **error);
+#ifndef TP_DISABLE_DEPRECATED
+_TP_DEPRECATED_IN_0_22_FOR(tp_proxy_is_prepared)
gboolean tp_account_is_prepared (TpAccount *account, GQuark feature);
+#endif
#ifndef TP_DISABLE_DEPRECATED
_TP_DEPRECATED_IN_0_16_FOR (tp_proxy_prepare_async)
More information about the telepathy-commits
mailing list