summaryrefslogtreecommitdiff
path: root/telepathy-glib/channel.h
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2012-02-09 14:40:34 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2012-03-05 12:33:38 +0000
commita2bd9248fb0a514d1880902b5b3237a6f1c510fd (patch)
tree9a139704fcb4b08399181af15327c237d938b012 /telepathy-glib/channel.h
parent7162d30eea3e94894531c1ab6d85b89534cbcada (diff)
downloadtelepathy-glib-a2bd9248fb0a514d1880902b5b3237a6f1c510fd.tar.gz
Deprecate tp_channel_call_when_ready, tp_connection_call_when_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.h')
-rw-r--r--telepathy-glib/channel.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/telepathy-glib/channel.h b/telepathy-glib/channel.h
index 597e782aa..98f6e987d 100644
--- a/telepathy-glib/channel.h
+++ b/telepathy-glib/channel.h
@@ -85,13 +85,14 @@ TpChannel *tp_channel_new_from_properties (TpConnection *conn,
#ifndef TP_DISABLE_DEPRECATED
gboolean tp_channel_run_until_ready (TpChannel *self, GError **error,
GMainLoop **loop) _TP_GNUC_DEPRECATED;
-#endif
typedef void (*TpChannelWhenReadyCb) (TpChannel *channel, const GError *error,
gpointer user_data);
void tp_channel_call_when_ready (TpChannel *self,
- TpChannelWhenReadyCb callback, gpointer user_data);
+ TpChannelWhenReadyCb callback,
+ gpointer user_data) _TP_GNUC_DEPRECATED_FOR (tp_proxy_prepare_async);
+#endif
void tp_channel_init_known_interfaces (void);