[Pkg-telepathy-commits] [telepathy-glib] 16/111: deprecate tp_account_is_prepared()

Simon McVittie smcv at debian.org
Wed Mar 19 18:07:23 UTC 2014


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch debian
in repository telepathy-glib.

commit 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(+)

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)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-telepathy/telepathy-glib.git



More information about the Pkg-telepathy-commits mailing list