summaryrefslogtreecommitdiff
path: root/telepathy-glib/capabilities.c
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2012-04-16 16:33:46 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2012-04-30 19:19:28 +0100
commitf89c396996d914b1e54dee714276da85df0fcb5e (patch)
treea99b56b5f5dca4bdefb7c3de96e094c88346018e /telepathy-glib/capabilities.c
parent40c12e5ec863922f62a053f8feeb1ed414188430 (diff)
downloadtelepathy-glib-f89c396996d914b1e54dee714276da85df0fcb5e.tar.gz
tp_account_channel_request_new_text, tp_account_channel_request_set_target_contact, tp_account_channel_request_set_target_id: add
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Reviewed-by: Jonny Lamb <jonny.lamb@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=48780
Diffstat (limited to 'telepathy-glib/capabilities.c')
-rw-r--r--telepathy-glib/capabilities.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/telepathy-glib/capabilities.c b/telepathy-glib/capabilities.c
index 34c797258..e6a36e95c 100644
--- a/telepathy-glib/capabilities.c
+++ b/telepathy-glib/capabilities.c
@@ -312,7 +312,9 @@ supports_simple_channel (TpCapabilities *self,
* @self: a #TpCapabilities object
*
* Return whether private text channels can be established by providing
- * a contact identifier.
+ * a contact identifier, for instance by calling
+ * tp_account_channel_request_new_text() followed by
+ * tp_account_channel_request_set_target_contact().
*
* If the protocol is such that text chats can be established, but only via a
* more elaborate D-Bus API than normal (because more information is needed),
@@ -337,7 +339,9 @@ tp_capabilities_supports_text_chats (TpCapabilities *self)
*
* If the #TpCapabilities:contact-specific property is %FALSE, this function
* checks if named text chatrooms can be joined by providing a chatroom
- * identifier.
+ * identifier, for instance by calling
+ * tp_account_channel_request_new_text() followed by
+ * tp_account_channel_request_set_target_id() with %TP_HANDLE_TYPE_ROOM.
*
* If the #TpCapabilities:contact-specific property is %TRUE, this function
* checks if the contact associated with this #TpCapabilities can be invited