[gnome-online-accounts] exchange: Call EnsureCredentials from refresh_account



commit 8bffd2d5eb0552f99d41b51e213991ed76f3d08b
Author: Debarshi Ray <debarshir gnome org>
Date:   Mon Apr 16 18:30:57 2012 +0200

    exchange: Call EnsureCredentials from refresh_account
    
    ... otherwise the daemon will not update the AttentionNeeded property
    of the account.

 src/goabackend/goaexchangeprovider.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/goabackend/goaexchangeprovider.c b/src/goabackend/goaexchangeprovider.c
index 7618518..bd7539a 100644
--- a/src/goabackend/goaexchangeprovider.c
+++ b/src/goabackend/goaexchangeprovider.c
@@ -739,6 +739,10 @@ refresh_account (GoaProvider    *provider,
                                             error))
     goto out;
 
+  goa_account_call_ensure_credentials (account,
+                                       NULL, /* GCancellable */
+                                       NULL, NULL); /* callback, user_data */
+
   ret = TRUE;
 
  out:



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