[librest/wip/baedert/gtask: 24/25] OAuthProxy: Pass proper data to callbacks
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librest/wip/baedert/gtask: 24/25] OAuthProxy: Pass proper data to callbacks
- Date: Sun, 8 May 2016 19:11:25 +0000 (UTC)
commit f9f61ad1df598d67572765dc4ac60f261bac9a0c
Author: Timm Bäder <mail baedert org>
Date: Sat Apr 23 17:15:12 2016 +0200
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 b4a8700..5801cd6 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]