[libgsf] Fixed make check.



commit ea55903c402d05ad198c696c52a47c8f4288ada5
Author: Jean Brefort <jean brefort normalesup org>
Date:   Mon Feb 25 16:40:04 2013 +0100

    Fixed make check.

 ChangeLog           |    4 ++++
 tests/test-msole1.c |   11 +++--------
 2 files changed, 7 insertions(+), 8 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 586649f..3ece976 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-02-25  Jean Brefort  <jean brefort normalesup org>
+
+       * tests/test-msole1.c (test): fix build.
+
 2013-02-23  Morten Welinder  <terra gnome org>
 
        * gsf/gsf-infile.c (gsf_infile_child_by_name)
diff --git a/tests/test-msole1.c b/tests/test-msole1.c
index d07bbf9..7c9b341 100644
--- a/tests/test-msole1.c
+++ b/tests/test-msole1.c
@@ -22,12 +22,7 @@
  * Parts of this code are taken from libole2/test/test-ole.c
  */
 
-#include <gsf/gsf-input-stdio.h>
-#include <gsf/gsf-input-memory.h>
-#include <gsf/gsf-utils.h>
-#include <gsf/gsf-infile.h>
-#include <gsf/gsf-infile-msole.h>
-#include <gsf/gsf-msole-utils.h>
+#include <gsf/gsf.h>
 
 #include <stdio.h>
 #include <stdlib.h>
@@ -200,7 +195,7 @@ test (unsigned argc, char *argv[])
                        GsfDocMetaData *meta_data = gsf_doc_meta_data_new ();
 
                        puts ( "SummaryInfo");
-                       err = gsf_msole_metadata_read (stream, meta_data);
+                       err = gsf_doc_meta_data_read_from_msole (meta_data, stream);
                        if (err != NULL) {
                                g_warning ("'%s' error: %s", argv[i], err->message);
                                g_error_free (err);
@@ -217,7 +212,7 @@ test (unsigned argc, char *argv[])
                        GsfDocMetaData *meta_data = gsf_doc_meta_data_new ();
 
                        puts ( "DocSummaryInfo");
-                       err = gsf_msole_metadata_read (stream, meta_data);
+                       err = gsf_doc_meta_data_read_from_msole (meta_data, stream);
                        if (err != NULL) {
                                g_warning ("'%s' error: %s", argv[i], err->message);
                                g_error_free (err);


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