summaryrefslogtreecommitdiff
path: root/gdata
diff options
context:
space:
mode:
authorPhilip Withnall <philip@tecnocode.co.uk>2011-10-28 09:31:24 +0100
committerPhilip Withnall <philip@tecnocode.co.uk>2012-04-02 15:17:01 +0100
commitc472db8b6cd12c02d4182e4d2f36aa2ae8dcdac2 (patch)
tree6db91ba9810376a56ae9b6218f14328afbd833ce /gdata
parent3ff70e3824980996b8c0e3b0f1917144783945d0 (diff)
downloadlibgdata-c472db8b6cd12c02d4182e4d2f36aa2ae8dcdac2.tar.gz
documents: Add basic support for version 3 of the Google Documents API
Support for v3 of the API will replace support for v2, given that v3 is now stable and v2 is no longer recommended. Helps: https://bugzilla.gnome.org/show_bug.cgi?id=593537
Diffstat (limited to 'gdata')
-rw-r--r--gdata/services/documents/gdata-documents-service.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdata/services/documents/gdata-documents-service.c b/gdata/services/documents/gdata-documents-service.c
index bdc12078..18791862 100644
--- a/gdata/services/documents/gdata-documents-service.c
+++ b/gdata/services/documents/gdata-documents-service.c
@@ -27,7 +27,7 @@
* #GDataDocumentsService is a subclass of #GDataService for communicating with the GData API of Google Documents. It supports querying
* for, inserting, editing and deleting documents, as well as a folder hierarchy.
*
- * For more details of Google Documents' GData API, see the <ulink type="http" url="http://code.google.com/apis/document/docs/2.0/reference.html">
+ * For more details of Google Documents' GData API, see the <ulink type="http" url="https://developers.google.com/google-apps/documents-list/">
* online documentation</ulink>.
*
* Fore more details about the spreadsheet downloads handling, see the
@@ -281,6 +281,8 @@ gdata_documents_service_class_init (GDataDocumentsServiceClass *klass)
GDataServiceClass *service_class = GDATA_SERVICE_CLASS (klass);
service_class->feed_type = GDATA_TYPE_DOCUMENTS_FEED;
service_class->get_authorization_domains = get_authorization_domains;
+
+ service_class->api_version = "3";
}
static void