[telepathy-glib/master] account-manager: renamed _request_global_presence to _set_all_requested_presences
Jonny Lamb
jonny.lamb at collabora.co.uk
Mon Sep 21 08:21:16 PDT 2009
Signed-off-by: Jonny Lamb <jonny.lamb at collabora.co.uk>
---
docs/reference/telepathy-glib-sections.txt | 2 +-
telepathy-glib/account-manager.c | 12 ++++++------
telepathy-glib/account-manager.h | 2 +-
3 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/docs/reference/telepathy-glib-sections.txt b/docs/reference/telepathy-glib-sections.txt
index 5feb34f..bea3baa 100644
--- a/docs/reference/telepathy-glib-sections.txt
+++ b/docs/reference/telepathy-glib-sections.txt
@@ -3081,7 +3081,7 @@ tp_account_manager_ensure_account
tp_account_manager_get_accounts
tp_account_manager_get_global_presence
tp_account_manager_get_requested_global_presence
-tp_account_manager_request_global_presence
+tp_account_manager_set_all_requested_presences
<SUBSECTION>
TP_ACCOUNT_MANAGER_FEATURE_CORE
tp_account_manager_get_feature_quark_core
diff --git a/telepathy-glib/account-manager.c b/telepathy-glib/account-manager.c
index 8641196..2d4c81f 100644
--- a/telepathy-glib/account-manager.c
+++ b/telepathy-glib/account-manager.c
@@ -344,7 +344,7 @@ _tp_account_manager_check_core_ready (TpAccountManager *manager)
* global presence was requested before the manager was ready */
if (priv->requested_presence != TP_CONNECTION_PRESENCE_TYPE_UNSET)
{
- tp_account_manager_request_global_presence (manager,
+ tp_account_manager_set_all_requested_presences (manager,
priv->requested_presence, priv->requested_status,
priv->requested_status_message);
}
@@ -1041,15 +1041,15 @@ tp_account_manager_get_accounts (TpAccountManager *manager)
}
/**
- * tp_account_manager_request_global_presence:
+ * tp_account_manager_set_all_requested_presences:
* @manager: a #TpAccountManager
* @type: a presence type to request
* @status: a status to request
* @message: a status message to request
*
- * Requests a global presence among all accounts in @manager. Note that
- * the presence requested here is merely a request, and if might not be
- * satisfiable.
+ * Iterates through the accounts in @manager and requests the presence
+ * (@type, @status and @message). Note that the presence requested here is
+ * merely a request, and if might not be satisfiable.
*
* You can find the actual global presence across all accounts by calling
* tp_account_manager_get_global_presence().
@@ -1057,7 +1057,7 @@ tp_account_manager_get_accounts (TpAccountManager *manager)
* Since: 0.7.UNRELEASED
*/
void
-tp_account_manager_request_global_presence (TpAccountManager *manager,
+tp_account_manager_set_all_requested_presences (TpAccountManager *manager,
TpConnectionPresenceType type,
const gchar *status,
const gchar *message)
diff --git a/telepathy-glib/account-manager.h b/telepathy-glib/account-manager.h
index b8f637b..5198c12 100644
--- a/telepathy-glib/account-manager.h
+++ b/telepathy-glib/account-manager.h
@@ -80,7 +80,7 @@ TpAccount *tp_account_manager_ensure_account (TpAccountManager *manager,
GList *tp_account_manager_get_accounts (TpAccountManager *manager);
-void tp_account_manager_request_global_presence (TpAccountManager *manager,
+void tp_account_manager_set_all_requested_presences (TpAccountManager *manager,
TpConnectionPresenceType type, const gchar *status, const gchar *message);
TpConnectionPresenceType tp_account_manager_get_requested_global_presence (
--
1.5.6.5
More information about the telepathy-commits
mailing list