summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <philip@tecnocode.co.uk>2012-04-14 09:47:52 +0100
committerPhilip Withnall <philip@tecnocode.co.uk>2012-04-14 09:47:52 +0100
commit4617666c239d268b5a90ac3e3dd5b24445e0c878 (patch)
tree70e993ef5db7ced1574514da3e5f4eb1559b23b7
parent8fd2cf3963d25eb97014ddb3f234c2bf8cad6261 (diff)
downloadlibgdata-4617666c239d268b5a90ac3e3dd5b24445e0c878.tar.gz
documents: Add arbitrary file support to GDataDocumentsFeed
-rw-r--r--gdata/services/documents/gdata-documents-feed.c2
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 24b87283..68e2aeea 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);