diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2012-04-26 18:02:26 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2012-04-26 18:02:26 +0100 |
commit | a6a3123673c75ab45dc9beacd79a0e29d05b7167 (patch) | |
tree | 28b57f562a7f4efe787846d697de1adfdc860b9b | |
parent | 82927b08af504ce63347b629e1be45b8ff25071f (diff) | |
parent | 2556ea7ff0fceff8dcc893c8b68bbfc596b3f44c (diff) |
Merge remote-tracking branch 'origin/master' into next
-rw-r--r-- | telepathy-glib/account-manager.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/telepathy-glib/account-manager.c b/telepathy-glib/account-manager.c index 58df9456b..016a36d2b 100644 --- a/telepathy-glib/account-manager.c +++ b/telepathy-glib/account-manager.c @@ -51,6 +51,26 @@ * The #TpAccountManager object is used to communicate with the Telepathy * AccountManager service. * + * A new #TpAccountManager object can be created with + * tp_account_manager_dup(). + * + * To list the existing valid accounts, the client should first + * prepare the %TP_ACCOUNT_MANAGER_FEATURE_CORE feature using + * tp_proxy_prepare_async(), then call + * tp_account_manager_get_valid_accounts(). + * + * The #TpAccountManager::account-validity-changed signal is emitted + * to notify of the validity of an account changing. New accounts are + * also indicated by the emission of this signal on an account that + * did not previously exist. (The rationale behind indicating new + * accounts by an account validity change signal is that clients + * interested in this kind of thing should be connected to this signal + * anyway: an account having just become valid is effectively a new + * account to a client.) + * + * The #TpAccountManager::account-removed signal is emitted when + * existing accounts are removed. + * * Since: 0.7.32 */ @@ -590,6 +610,9 @@ tp_account_manager_class_init (TpAccountManagerClass *klass) * * Emitted when the usability on @account changes. * + * This signal is also used to indicate a new account that did not + * previously exist has been added (with @valid set to %TRUE). + * * @account is guaranteed to have %TP_ACCOUNT_FEATURE_CORE prepared, along * with all features previously passed to * tp_client_factory_add_account_features(). |