[gnome-online-accounts] facebook: Use GoaRestProxy



commit 696aaba57cc5b04e3add6d25866a6b208a8037c5
Author: Debarshi Ray <debarshir gnome org>
Date:   Fri Aug 4 15:56:33 2017 +0200

    facebook: Use GoaRestProxy

 src/goabackend/goafacebookprovider.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/goabackend/goafacebookprovider.c b/src/goabackend/goafacebookprovider.c
index 53cf1a3..f823d31 100644
--- a/src/goabackend/goafacebookprovider.c
+++ b/src/goabackend/goafacebookprovider.c
@@ -27,6 +27,7 @@
 #include "goaoauth2provider.h"
 #include "goafacebookprovider.h"
 #include "goaobjectskeletonutils.h"
+#include "goarestproxy.h"
 
 struct _GoaFacebookProvider
 {
@@ -159,7 +160,7 @@ get_identity_sync (GoaOAuth2Provider  *oauth2_provider,
 
   /* TODO: cancellable */
 
-  proxy = rest_proxy_new ("https://graph.facebook.com/me";, FALSE);
+  proxy = goa_rest_proxy_new ("https://graph.facebook.com/me";, FALSE);
   call = rest_proxy_new_call (proxy);
   rest_proxy_call_set_method (call, "GET");
   rest_proxy_call_add_params (call,


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