[gnome-online-accounts/gnome-3-16] daemon: Remove redundant function call



commit 82a40eeb8a89afdfc706dab544a91f281637a4da
Author: Debarshi Ray <debarshir gnome org>
Date:   Thu May 28 13:26:06 2015 +0200

    daemon: Remove redundant function call
    
    https://bugzilla.gnome.org/show_bug.cgi?id=693578

 src/daemon/goadaemon.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/daemon/goadaemon.c b/src/daemon/goadaemon.c
index 33ca577..0de4b9f 100644
--- a/src/daemon/goadaemon.c
+++ b/src/daemon/goadaemon.c
@@ -1159,9 +1159,7 @@ ensure_credentials_cb (GoaProvider   *provider,
           g_message ("%s: Setting AttentionNeeded to FALSE because EnsureCredentials() succeded\n",
                      g_dbus_object_get_object_path (G_DBUS_OBJECT (data->object)));
         }
-      goa_account_complete_ensure_credentials (goa_object_peek_account (data->object),
-                                               data->invocation,
-                                               expires_in);
+      goa_account_complete_ensure_credentials (account, data->invocation, expires_in);
     }
   ensure_data_unref (data);
 }


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