[libgdata/wip/rishi/drive: 7/10] tests: GDataDocumentsSpreadsheet is not meant for ODS files in Drive v2



commit 0ac707e78a0052e1b3cf6b337f79c822b70b6c74
Author: Debarshi Ray <debarshir gnome org>
Date:   Wed Sep 21 19:34:12 2016 +0200

    tests: GDataDocumentsSpreadsheet is not meant for ODS files in Drive v2
    
    https://bugzilla.gnome.org/show_bug.cgi?id=684920

 gdata/tests/documents.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gdata/tests/documents.c b/gdata/tests/documents.c
index 7572e73..044851c 100644
--- a/gdata/tests/documents.c
+++ b/gdata/tests/documents.c
@@ -300,14 +300,14 @@ _set_up_temp_document (GDataDocumentsEntry *entry, GDataService *service, GFile
 static void
 set_up_temp_document_spreadsheet (TempDocumentData *data, gconstpointer service)
 {
-       GDataDocumentsSpreadsheet *document;
+       GDataDocumentsDocument *document;
        gchar *document_file_path;
        GFile *document_file;
 
        gdata_test_mock_server_start_trace (mock_server, "setup-temp-document-spreadsheet");
 
        /* Create a document */
-       document = gdata_documents_spreadsheet_new (NULL);
+       document = gdata_documents_document_new (NULL);
        gdata_entry_set_title (GDATA_ENTRY (document), "Temporary Document (Spreadsheet)");
 
        document_file_path = g_test_build_filename (G_TEST_DIST, "test.ods", NULL);


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