[gnome-online-accounts] oauthprovider: Do not copy the error because we set it later anyway
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-online-accounts] oauthprovider: Do not copy the error because we set it later anyway
- Date: Thu, 12 Apr 2012 21:28:12 +0000 (UTC)
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]