summaryrefslogtreecommitdiff
path: root/gdata/services/documents/gdata-documents-query.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdata/services/documents/gdata-documents-query.c')
-rw-r--r--gdata/services/documents/gdata-documents-query.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdata/services/documents/gdata-documents-query.c b/gdata/services/documents/gdata-documents-query.c
index 634e7a2e..6070c1b0 100644
--- a/gdata/services/documents/gdata-documents-query.c
+++ b/gdata/services/documents/gdata-documents-query.c
@@ -208,6 +208,10 @@ static void
gdata_documents_query_init (GDataDocumentsQuery *self)
{
self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self, GDATA_TYPE_DOCUMENTS_QUERY, GDataDocumentsQueryPrivate);
+
+ /* https://developers.google.com/drive/v3/reference/files/list#q */
+ _gdata_query_set_pagination_type (GDATA_QUERY (self),
+ GDATA_QUERY_PAGINATION_TOKENS);
}
static void