[libgdata] documents: Add arbitrary file support to GDataDocumentsFeed



commit 4617666c239d268b5a90ac3e3dd5b24445e0c878
Author: Philip Withnall <philip tecnocode co uk>
Date:   Sat Apr 14 09:47:52 2012 +0100

    documents: Add arbitrary file support to GDataDocumentsFeed

 gdata/services/documents/gdata-documents-feed.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gdata/services/documents/gdata-documents-feed.c b/gdata/services/documents/gdata-documents-feed.c
index 24b8728..68e2aee 100644
--- a/gdata/services/documents/gdata-documents-feed.c
+++ b/gdata/services/documents/gdata-documents-feed.c
@@ -106,6 +106,8 @@ parse_xml (GDataParsable *parsable, xmlDoc *doc, xmlNode *node, gpointer user_da
 			entry = GDATA_ENTRY (_gdata_parsable_new_from_xml_node (GDATA_TYPE_DOCUMENTS_PRESENTATION, doc, node, NULL, error));
 		} else if (g_strcmp0 (kind, "http://schemas.google.com/docs/2007#folder";) == 0) {
 			entry = GDATA_ENTRY (_gdata_parsable_new_from_xml_node (GDATA_TYPE_DOCUMENTS_FOLDER, doc, node, NULL, error));
+		} else if (g_strcmp0 (kind, "http://schemas.google.com/docs/2007#file";) == 0) {
+			entry = GDATA_ENTRY (_gdata_parsable_new_from_xml_node (GDATA_TYPE_DOCUMENTS_DOCUMENT, doc, node, NULL, error));
 		} else {
 			g_message ("%s documents are not handled yet", kind);
 			g_free (kind);



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