[gnome-online-accounts/wip/gnome-3-8-backport] foo
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-online-accounts/wip/gnome-3-8-backport] foo
- Date: Wed, 30 Oct 2013 13:37:05 +0000 (UTC)
commit 937980049051395a7fc82d09e9e9387dcf13a25d
Author: Debarshi Ray <debarshir gnome org>
Date: Wed Oct 30 14:36:55 2013 +0100
foo
src/goabackend/goaoauth2provider.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/goabackend/goaoauth2provider.c b/src/goabackend/goaoauth2provider.c
index 5ce052f..5fbcc5e 100644
--- a/src/goabackend/goaoauth2provider.c
+++ b/src/goabackend/goaoauth2provider.c
@@ -868,21 +868,21 @@ on_web_view_navigation_policy_decision_requested (WebKitWebView *web
g_hash_table_unref (key_value_pairs);
}
- if (priv->access_token != NULL)
+ if (data->access_token != NULL)
goto ignore_request;
if (query != NULL)
{
key_value_pairs = soup_form_decode (query);
- priv->authorization_code = g_strdup (g_hash_table_lookup (key_value_pairs, "code"));
- if (priv->authorization_code != NULL)
+ data->authorization_code = g_strdup (g_hash_table_lookup (key_value_pairs, "code"));
+ if (data->authorization_code != NULL)
response_id = GTK_RESPONSE_OK;
g_hash_table_unref (key_value_pairs);
}
- if (priv->authorization_code != NULL)
+ if (data->authorization_code != NULL)
goto ignore_request;
/* In case we don't find the access_token or auth code, then look
@@ -894,7 +894,7 @@ on_web_view_navigation_policy_decision_requested (WebKitWebView *web
response_id = GTK_RESPONSE_CANCEL;
else
{
- g_set_error (&priv->error,
+ g_set_error (&data->error,
GOA_ERROR,
GOA_ERROR_NOT_AUTHORIZED,
_("Authorization response was \"%s\""),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]