summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2015-01-06 18:34:36 +0100
committerPhilip Withnall <philip@tecnocode.co.uk>2015-04-13 23:34:14 +0100
commitaab9947e41a1084ead6b8c82082a855656dd3e00 (patch)
tree7c93bd35860746f8d3ef447c82f473ceb1a748fa
parent5b34fea33d00695c993e637bc1c4f823a32133f1 (diff)
downloadlibgdata-aab9947e41a1084ead6b8c82082a855656dd3e00.tar.gz
goa-authorizer: Add freebase domain
This is necessary for authorizers to correctly authorize freebase queries. https://bugzilla.gnome.org/show_bug.cgi?id=742473
-rw-r--r--gdata/gdata-goa-authorizer.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdata/gdata-goa-authorizer.c b/gdata/gdata-goa-authorizer.c
index bcb1bcea..4bfff0fa 100644
--- a/gdata/gdata-goa-authorizer.c
+++ b/gdata/gdata-goa-authorizer.c
@@ -72,6 +72,7 @@
#include "services/contacts/gdata-contacts-service.h"
#include "services/documents/gdata-documents-service.h"
#include "services/picasaweb/gdata-picasaweb-service.h"
+#include "services/freebase/gdata-freebase-service.h"
#define HMAC_SHA1_LEN 20 /* bytes, raw */
@@ -390,6 +391,8 @@ gdata_goa_authorizer_set_goa_object (GDataGoaAuthorizer *self, GoaObject *goa_ob
if (goa_object_peek_photos (goa_object) != NULL) {
add_authorization_domains (self, GDATA_TYPE_PICASAWEB_SERVICE);
}
+
+ add_authorization_domains (self, GDATA_TYPE_FREEBASE_SERVICE);
}
static void