[next] telepathy-glib: deprecate tp_account_manager_is_prepared()

Simon McVittie smcv at kemper.freedesktop.org
Fri Sep 27 06:23:45 PDT 2013


Module: telepathy-glib
Branch: next
Commit: 3f5dffa86e4890c8440eb7a0e3d328bdacf70fdc
URL:    http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=3f5dffa86e4890c8440eb7a0e3d328bdacf70fdc

Author: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Date:   Fri Sep 27 15:11:35 2013 +0200

deprecate tp_account_manager_is_prepared()

We removed it in 1.0

---

 telepathy-glib/account-manager.c |    1 +
 telepathy-glib/account-manager.h |    3 ++-
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/telepathy-glib/account-manager.c b/telepathy-glib/account-manager.c
index 94f3f13..ea3263b 100644
--- a/telepathy-glib/account-manager.c
+++ b/telepathy-glib/account-manager.c
@@ -1463,6 +1463,7 @@ tp_account_manager_create_account_finish (TpAccountManager *manager,
  * 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_manager_is_prepared (TpAccountManager *manager,
diff --git a/telepathy-glib/account-manager.h b/telepathy-glib/account-manager.h
index 8c52f10..84ef78c 100644
--- a/telepathy-glib/account-manager.h
+++ b/telepathy-glib/account-manager.h
@@ -121,10 +121,11 @@ TpAccount * tp_account_manager_create_account_finish (
     TpAccountManager *manager, GAsyncResult *result, GError **error)
   G_GNUC_WARN_UNUSED_RESULT;
 
+#ifndef TP_DISABLE_DEPRECATED
+_TP_DEPRECATED_IN_0_22_FOR(tp_proxy_is_prepared)
 gboolean tp_account_manager_is_prepared (TpAccountManager *manager,
     GQuark feature);
 
-#ifndef TP_DISABLE_DEPRECATED
 _TP_DEPRECATED_IN_0_16_FOR (tp_proxy_prepare_async)
 void tp_account_manager_prepare_async (TpAccountManager *manager,
     const GQuark *features,



More information about the telepathy-commits mailing list