telepathy-glib: ChatState: Add the missing _TP_AVAILABLE/DEPRECATED_IN_0_20
Xavier Claessens
xclaesse at kemper.freedesktop.org
Wed May 9 09:35:16 PDT 2012
Module: telepathy-glib
Branch: master
Commit: ccffb823b4694a108c0f6a0d05707ad71a5e8870
URL: http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=ccffb823b4694a108c0f6a0d05707ad71a5e8870
Author: Xavier Claessens <xavier.claessens at collabora.co.uk>
Date: Wed May 9 18:26:21 2012 +0200
ChatState: Add the missing _TP_AVAILABLE/DEPRECATED_IN_0_20
---
telepathy-glib/channel.h | 5 ++++-
telepathy-glib/message-mixin.h | 3 +++
telepathy-glib/text-channel.h | 3 +++
3 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/telepathy-glib/channel.h b/telepathy-glib/channel.h
index 5662d35..87ea773 100644
--- a/telepathy-glib/channel.h
+++ b/telepathy-glib/channel.h
@@ -218,9 +218,12 @@ TpContact *tp_channel_group_get_contact_owner (TpChannel *self,
#define TP_CHANNEL_FEATURE_CHAT_STATES \
tp_channel_get_feature_quark_chat_states ()
+_TP_DEPRECATED_IN_0_20_FOR(tp_text_channel_get_feature_quark_chat_states)
GQuark tp_channel_get_feature_quark_chat_states (void) G_GNUC_CONST;
+
+_TP_DEPRECATED_IN_0_20_FOR(tp_text_channel_get_chat_state)
TpChannelChatState tp_channel_get_chat_state (TpChannel *self,
- TpHandle contact) _TP_GNUC_DEPRECATED_FOR (tp_text_channel_get_chat_state);
+ TpHandle contact);
/* Channel.Interface.Password */
#define TP_CHANNEL_FEATURE_PASSWORD \
diff --git a/telepathy-glib/message-mixin.h b/telepathy-glib/message-mixin.h
index c2bcf40..2293733 100644
--- a/telepathy-glib/message-mixin.h
+++ b/telepathy-glib/message-mixin.h
@@ -74,13 +74,16 @@ typedef gboolean (*TpMessageMixinSendChatStateImpl) (GObject *object,
TpChannelChatState state,
GError **error);
+_TP_AVAILABLE_IN_0_20
void tp_message_mixin_change_chat_state (GObject *object,
TpHandle member,
TpChannelChatState state);
+_TP_AVAILABLE_IN_0_20
void tp_message_mixin_implement_send_chat_state (GObject *object,
TpMessageMixinSendChatStateImpl send_chat_state);
+_TP_AVAILABLE_IN_0_20
void tp_message_mixin_maybe_send_gone (GObject *object);
/* Initialization */
diff --git a/telepathy-glib/text-channel.h b/telepathy-glib/text-channel.h
index 4f488fc..828def4 100644
--- a/telepathy-glib/text-channel.h
+++ b/telepathy-glib/text-channel.h
@@ -123,7 +123,10 @@ gboolean tp_text_channel_ack_all_pending_messages_finish (TpTextChannel *self,
#define TP_TEXT_CHANNEL_FEATURE_CHAT_STATES \
tp_text_channel_get_feature_quark_chat_states ()
+_TP_AVAILABLE_IN_0_20
GQuark tp_text_channel_get_feature_quark_chat_states (void) G_GNUC_CONST;
+
+_TP_AVAILABLE_IN_0_20
TpChannelChatState tp_text_channel_get_chat_state (TpTextChannel *self,
TpContact *contact);
More information about the telepathy-commits
mailing list