[telepathy-glib/master] account{, -manager}: make sure the GAsyncResult completes asynchronously

Jonny Lamb jonny.lamb at collabora.co.uk
Sat Sep 26 03:23:45 PDT 2009


Signed-off-by: Jonny Lamb <jonny.lamb at collabora.co.uk>
---
 telepathy-glib/account-manager.c |    2 +-
 telepathy-glib/account.c         |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/telepathy-glib/account-manager.c b/telepathy-glib/account-manager.c
index 58334b2..fe07551 100644
--- a/telepathy-glib/account-manager.c
+++ b/telepathy-glib/account-manager.c
@@ -1326,7 +1326,7 @@ tp_account_manager_prepare_async (TpAccountManager *manager,
 
   if (_tp_account_manager_check_features (manager, features))
     {
-      g_simple_async_result_complete (result);
+      g_simple_async_result_complete_in_idle (result);
       g_object_unref (result);
     }
   else
diff --git a/telepathy-glib/account.c b/telepathy-glib/account.c
index e0935f6..cbe6e91 100644
--- a/telepathy-glib/account.c
+++ b/telepathy-glib/account.c
@@ -2670,7 +2670,7 @@ tp_account_prepare_async (TpAccount *account,
 
   if (_tp_account_check_features (account, features))
     {
-      g_simple_async_result_complete (result);
+      g_simple_async_result_complete_in_idle (result);
       g_object_unref (result);
     }
   else
-- 
1.5.6.5




More information about the telepathy-commits mailing list