summaryrefslogtreecommitdiff
path: root/telepathy-glib/channel.c
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2012-02-09 15:27:37 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2012-03-05 12:33:40 +0000
commitebc0d0068b1d362e06767cab760991a09dd862ea (patch)
tree4e0d9e7f819da8338bf7c66899b1244f8a013327 /telepathy-glib/channel.c
parenta2bd9248fb0a514d1880902b5b3237a6f1c510fd (diff)
downloadtelepathy-glib-ebc0d0068b1d362e06767cab760991a09dd862ea.tar.gz
Deprecate tp_channel_is_ready and TpChannel:channel-ready
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=45842 Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Reviewed-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Diffstat (limited to 'telepathy-glib/channel.c')
-rw-r--r--telepathy-glib/channel.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/telepathy-glib/channel.c b/telepathy-glib/channel.c
index d447c041e..8c438d012 100644
--- a/telepathy-glib/channel.c
+++ b/telepathy-glib/channel.c
@@ -372,6 +372,8 @@ tp_channel_get_identifier (TpChannel *self)
*
* Returns: %TRUE if introspection has completed
* Since: 0.7.12
+ * Deprecated: 0.17.UNRELEASED: use tp_proxy_is_prepared() with
+ * %TP_CHANNEL_FEATURE_CORE
*/
gboolean
tp_channel_is_ready (TpChannel *self)
@@ -1605,10 +1607,14 @@ tp_channel_class_init (TpChannelClass *klass)
* invalidated - but tp_proxy_is_prepared() returns %FALSE for all features.
*
* Change notification is via notify::channel-ready.
+ *
+ * Deprecated: 0.17.UNRELEASED: use tp_proxy_is_prepared() with
+ * %TP_CHANNEL_FEATURE_CORE for checks, or tp_proxy_prepare_async() for
+ * notification
*/
param_spec = g_param_spec_boolean ("channel-ready", "Channel ready?",
"Initially FALSE; changes to TRUE when introspection finishes", FALSE,
- G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
+ G_PARAM_READABLE | G_PARAM_STATIC_STRINGS | G_PARAM_DEPRECATED);
g_object_class_install_property (object_class, PROP_CHANNEL_READY,
param_spec);