[librest/wip/teuf/gtask: 12/37] fixup! RestProxyCall: Use GTask
- From: Christophe Fergeau <teuf src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librest/wip/teuf/gtask: 12/37] fixup! RestProxyCall: Use GTask
- Date: Thu, 16 Jun 2016 16:43:08 +0000 (UTC)
commit 95e816796b14a174a2367d6017890e63772cd4b5
Author: Christophe Fergeau <cfergeau redhat com>
Date: Wed Jun 15 17:29:31 2016 +0200
fixup! RestProxyCall: Use GTask
was: "OAuthProxy: Pass proper data to callbacks"
rest/oauth-proxy.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/rest/oauth-proxy.c b/rest/oauth-proxy.c
index 6c8cab8..968a6a9 100644
--- a/rest/oauth-proxy.c
+++ b/rest/oauth-proxy.c
@@ -344,7 +344,7 @@ request_token_cb (GObject *source_object,
oauth_proxy_call_parse_token_response (OAUTH_PROXY_CALL (call));
- data->callback (source_object, result, user_data);
+ data->callback (source_object, result, data->user_data);
g_slice_free (AuthData, data);
g_object_unref (call);
@@ -461,7 +461,7 @@ access_token_cb (GObject *source_object,
oauth_proxy_call_parse_token_response (OAUTH_PROXY_CALL (call));
/*}*/
- data->callback (source_object, result, user_data);
+ data->callback (source_object, result, data->user_data);
g_slice_free (AuthData, data);
g_object_unref (call);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]