[libgdata] documents: Add basic support for version 3 of the Google Documents API
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgdata] documents: Add basic support for version 3 of the Google Documents API
- Date: Mon, 2 Apr 2012 14:33:24 +0000 (UTC)
commit c472db8b6cd12c02d4182e4d2f36aa2ae8dcdac2
Author: Philip Withnall <philip tecnocode co uk>
Date: Fri Oct 28 09:31:24 2011 +0100
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
gdata/services/documents/gdata-documents-service.c | 4 +++-
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 bdc1207..1879186 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]