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



commit f4cae3fb418d42b3d6e19340693c81c600490026
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 a190934..2cd98b7 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]