summaryrefslogtreecommitdiff
path: root/telepathy-glib/channel.h
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.co.uk>2012-04-27 13:46:22 +0200
committerXavier Claessens <xavier.claessens@collabora.co.uk>2012-04-27 15:06:17 +0200
commit355cebc58cb1a5cbfbed4937ac1ae4b7eac8502b (patch)
treec8060def3cf69ce2d7d2f2802d56a9924b21ba8e /telepathy-glib/channel.h
parent8318e418a1e34def29028ca6468f67f0f74b72fb (diff)
downloadtelepathy-glib-355cebc58cb1a5cbfbed4937ac1ae4b7eac8502b.tar.gz
TpChannel: Deprecate all TpHandle APIs that have TpContact variant
https://bugs.freedesktop.org/show_bug.cgi?id=49213
Diffstat (limited to 'telepathy-glib/channel.h')
-rw-r--r--telepathy-glib/channel.h24
1 files changed, 16 insertions, 8 deletions
diff --git a/telepathy-glib/channel.h b/telepathy-glib/channel.h
index aeaa7126c..cf31db69a 100644
--- a/telepathy-glib/channel.h
+++ b/telepathy-glib/channel.h
@@ -106,21 +106,29 @@ const gchar *tp_channel_get_identifier (TpChannel *self);
TpConnection *tp_channel_borrow_connection (TpChannel *self);
GHashTable *tp_channel_borrow_immutable_properties (TpChannel *self);
-TpHandle tp_channel_group_get_self_handle (TpChannel *self);
+TpHandle tp_channel_group_get_self_handle (TpChannel *self)
+ _TP_GNUC_DEPRECATED_FOR (tp_channel_group_get_self_contact);
TpChannelGroupFlags tp_channel_group_get_flags (TpChannel *self);
-const TpIntset *tp_channel_group_get_members (TpChannel *self);
-const TpIntset *tp_channel_group_get_local_pending (TpChannel *self);
-const TpIntset *tp_channel_group_get_remote_pending (TpChannel *self);
+const TpIntset *tp_channel_group_get_members (TpChannel *self)
+ _TP_GNUC_DEPRECATED_FOR (tp_channel_group_dup_members_contacts);
+const TpIntset *tp_channel_group_get_local_pending (TpChannel *self)
+ _TP_GNUC_DEPRECATED_FOR (tp_channel_group_dup_local_pending_contacts);
+const TpIntset *tp_channel_group_get_remote_pending (TpChannel *self)
+ _TP_GNUC_DEPRECATED_FOR (tp_channel_group_dup_remote_pending_contacts);
gboolean tp_channel_group_get_local_pending_info (TpChannel *self,
TpHandle local_pending, TpHandle *actor,
- TpChannelGroupChangeReason *reason, const gchar **message);
+ TpChannelGroupChangeReason *reason, const gchar **message)
+ _TP_GNUC_DEPRECATED_FOR (tp_channel_group_get_local_pending_contact_info);
-TpHandle tp_channel_group_get_handle_owner (TpChannel *self, TpHandle handle);
+TpHandle tp_channel_group_get_handle_owner (TpChannel *self, TpHandle handle)
+ _TP_GNUC_DEPRECATED_FOR (tp_channel_group_get_contact_owner);
gboolean tp_channel_get_requested (TpChannel *self);
-TpHandle tp_channel_get_initiator_handle (TpChannel *self);
-const gchar * tp_channel_get_initiator_identifier (TpChannel *self);
+TpHandle tp_channel_get_initiator_handle (TpChannel *self)
+ _TP_GNUC_DEPRECATED_FOR (tp_channel_get_initiator_contact);
+const gchar * tp_channel_get_initiator_identifier (TpChannel *self)
+ _TP_GNUC_DEPRECATED_FOR (tp_channel_get_initiator_contact);
#define TP_CHANNEL_FEATURE_CORE \
tp_channel_get_feature_quark_core ()