[gnumeric] Compilation: move prototype for gnm_xml_io_conventions to xml-sax.h



commit bacb14ea8f3f056abbc10e1b096987fb04914d6c
Author: Morten Welinder <terra gnome org>
Date:   Tue Sep 22 08:54:30 2009 -0400

    Compilation: move prototype for gnm_xml_io_conventions to xml-sax.h

 plugins/openoffice/openoffice-read.c  |    2 +-
 plugins/openoffice/openoffice-write.c |    3 ---
 src/xml-io.h                          |    2 --
 src/xml-sax.h                         |    2 ++
 4 files changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/plugins/openoffice/openoffice-read.c b/plugins/openoffice/openoffice-read.c
index 1097445..545c186 100644
--- a/plugins/openoffice/openoffice-read.c
+++ b/plugins/openoffice/openoffice-read.c
@@ -46,7 +46,7 @@
 #include <print-info.h>
 #include <command-context.h>
 #include <gutils.h>
-#include <xml-io.h>
+#include <xml-sax.h>
 #include <sheet-object-cell-comment.h>
 #include <style-conditions.h>
 
diff --git a/plugins/openoffice/openoffice-write.c b/plugins/openoffice/openoffice-write.c
index c98c0ad..07d24de 100644
--- a/plugins/openoffice/openoffice-write.c
+++ b/plugins/openoffice/openoffice-write.c
@@ -60,7 +60,6 @@
 #include <parse-util.h>
 #include <tools/scenarios.h>
 #include <gutils.h>
-#include <xml-io.h>
 #include <style-conditions.h>
 
 #include <sheet-object.h>
@@ -3918,5 +3917,3 @@ odf_file_save (GOFileSaver const *fs, GOIOContext *ioc,
 {
 	openoffice_file_save_real (fs, ioc, wbv, output, TRUE);
 }
-
-
diff --git a/src/xml-io.h b/src/xml-io.h
index 3795c5b..6f493b1 100644
--- a/src/xml-io.h
+++ b/src/xml-io.h
@@ -47,8 +47,6 @@ GnmStyle      *xml_read_style     (XmlParseContext *ctxt, xmlNodePtr tree,
 
 void      xml_dom_init (void);
 
-GnmConventions *gnm_xml_io_conventions (void);
-
 G_END_DECLS
 
 #endif /* _GNM_XML_IO_H_ */
diff --git a/src/xml-sax.h b/src/xml-sax.h
index 86c49db..edcbb50 100644
--- a/src/xml-sax.h
+++ b/src/xml-sax.h
@@ -27,6 +27,8 @@ GsfOutputMemory *
 void      gnm_xml_sax_read_init (void);
 void      gnm_xml_sax_write_init (void);
 
+GnmConventions *gnm_xml_io_conventions (void);
+
 G_END_DECLS
 
 #endif /* _GNM_XML_SAX_H_ */



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