[libgdata] goa-authorizer: Add freebase domain
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgdata] goa-authorizer: Add freebase domain
- Date: Mon, 13 Apr 2015 22:35:07 +0000 (UTC)
commit aab9947e41a1084ead6b8c82082a855656dd3e00
Author: Carlos Garnacho <carlosg gnome org>
Date: Tue Jan 6 18:34:36 2015 +0100
goa-authorizer: Add freebase domain
This is necessary for authorizers to correctly authorize freebase queries.
https://bugzilla.gnome.org/show_bug.cgi?id=742473
gdata/gdata-goa-authorizer.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gdata/gdata-goa-authorizer.c b/gdata/gdata-goa-authorizer.c
index bcb1bce..4bfff0f 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]