[empathy: 50/59] idle: updated comment



commit d299fc2bd39cabadfd6a1753f8e22b1d029a6ed9
Author: Jonny Lamb <jonnylamb gnome org>
Date:   Fri Oct 30 10:22:12 2009 +0000

    idle: updated comment
    
    Signed-off-by: Jonny Lamb <jonnylamb gnome org>

 libempathy/empathy-idle.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/libempathy/empathy-idle.c b/libempathy/empathy-idle.c
index b4cc0cf..27ae487 100644
--- a/libempathy/empathy-idle.c
+++ b/libempathy/empathy-idle.c
@@ -630,10 +630,12 @@ empathy_idle_do_set_presence (EmpathyIdle *idle,
 
 	g_return_if_fail (status != NULL);
 
-	/* FIXME: Should be sure that the account manager is prepared, but
+	/* We possibly should be sure that the account manager is prepared, but
 	 * sometimes this isn't possible, like when exiting. In other words,
 	 * we need a callback to empathy_idle_set_presence to be sure the
-	 * presence is set on all accounts successfully. */
+	 * presence is set on all accounts successfully.
+	 * However, in practice, this is fine as we've already prepared the
+	 * account manager here in _init. */
 	tp_account_manager_set_all_requested_presences (priv->manager,
 		status_type, status, status_message);
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]