diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-11-04 14:43:23 +0100 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-11-08 09:49:38 +0100 |
commit | ce930a934392c573914214da70c9ff20664efe7f (patch) | |
tree | 42400c34f9cf4596229992ee8993aa1329cc610c /telepathy-glib/channel.h | |
parent | eb587d2fbdf4f44b7ef85042507153f191ff8200 (diff) | |
download | telepathy-glib-ce930a934392c573914214da70c9ff20664efe7f.tar.gz |
add tp_channel_leave_async() (fdo #30617)
Diffstat (limited to 'telepathy-glib/channel.h')
-rw-r--r-- | telepathy-glib/channel.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/telepathy-glib/channel.h b/telepathy-glib/channel.h index 4839b0e69..2e82722ad 100644 --- a/telepathy-glib/channel.h +++ b/telepathy-glib/channel.h @@ -134,6 +134,16 @@ GQuark tp_channel_get_feature_quark_chat_states (void) G_GNUC_CONST; TpChannelChatState tp_channel_get_chat_state (TpChannel *self, TpHandle contact); +void tp_channel_leave_async (TpChannel *self, + TpChannelGroupChangeReason reason, + const gchar *message, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean tp_channel_leave_finish (TpChannel *self, + GAsyncResult *result, + GError **error); + G_END_DECLS #include <telepathy-glib/_gen/tp-cli-channel.h> |