[gnome-online-accounts] oauthprovider: Do not copy the error because we set it later anyway



commit e45402ac77e09e0a48f522d64cf8c6c2217dd646
Author: Debarshi Ray <debarshir gnome org>
Date:   Thu Apr 12 22:14:03 2012 +0200

    oauthprovider: Do not copy the error because we set it later anyway

 src/goabackend/goaoauthprovider.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/goabackend/goaoauthprovider.c b/src/goabackend/goaoauthprovider.c
index fac8623..15249b9 100644
--- a/src/goabackend/goaoauthprovider.c
+++ b/src/goabackend/goaoauthprovider.c
@@ -636,10 +636,6 @@ static void
 rest_proxy_call_cb (RestProxyCall *call, const GError *error, GObject *weak_object, gpointer user_data)
 {
   IdentifyData *data = user_data;
-
-  if (error != NULL)
-    data->error = g_error_copy (error);
-
   g_main_loop_quit (data->loop);
 }
 



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