[telepathy-glib/master] account-manager: add note to _ensure_account about ensuring accounts it is unaware of
Jonny Lamb
jonny.lamb at collabora.co.uk
Mon Sep 21 08:17:30 PDT 2009
Signed-off-by: Jonny Lamb <jonny.lamb at collabora.co.uk>
---
telepathy-glib/account-manager.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/telepathy-glib/account-manager.c b/telepathy-glib/account-manager.c
index 1c851a0..8641196 100644
--- a/telepathy-glib/account-manager.c
+++ b/telepathy-glib/account-manager.c
@@ -973,7 +973,9 @@ _tp_account_manager_account_ready_cb (GObject *source_object,
*
* Lookup an account in the account manager @manager. If the desired account
* has already been ensured then the same object will be returned, otherwise
- * it will create a new #TpAccount and add it to @manager.
+ * it will create a new #TpAccount and add it to @manager. As a result, if
+ * @manager thinks that the account doesn't exist, this will still add it to
+ * @manager to avoid races.
*
* The caller must keep a ref to the returned object using g_object_ref() if
* it is to be kept.
--
1.5.6.5
More information about the telepathy-commits
mailing list