[gnome-online-accounts] live: Use GoaRestProxy



commit efb8627bf8bf88dac2ebbdf0984759d7b36eddc6
Author: Debarshi Ray <debarshir gnome org>
Date:   Fri Aug 4 16:26:42 2017 +0200

    live: Use GoaRestProxy

 src/goabackend/goawindowsliveprovider.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/goabackend/goawindowsliveprovider.c b/src/goabackend/goawindowsliveprovider.c
index 109abb2..e69cbe2 100644
--- a/src/goabackend/goawindowsliveprovider.c
+++ b/src/goabackend/goawindowsliveprovider.c
@@ -27,6 +27,7 @@
 #include "goaprovider-priv.h"
 #include "goawindowsliveprovider.h"
 #include "goaobjectskeletonutils.h"
+#include "goarestproxy.h"
 
 struct _GoaWindowsLiveProvider
 {
@@ -143,7 +144,7 @@ get_identity_sync (GoaOAuth2Provider  *oauth2_provider,
 
   /* TODO: cancellable */
 
-  proxy = rest_proxy_new ("https://apis.live.net/v5.0/me";, FALSE);
+  proxy = goa_rest_proxy_new ("https://apis.live.net/v5.0/me";, FALSE);
   call = rest_proxy_new_call (proxy);
   rest_proxy_call_set_method (call, "GET");
   rest_proxy_call_add_param (call, "access_token", access_token);


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