[gnumeric] Python-loader: add missing encoding argument to loader.



commit 0c159bcd2924f937180ae8cc59c30ab6c726ea57
Author: Morten Welinder <terra gnome org>
Date:   Sun Jul 8 18:27:17 2012 -0400

    Python-loader: add missing encoding argument to loader.
    
    Goffice probably changed at some point.  No-one fixed goffice to match.

 NEWS                                  |    1 +
 plugins/python-loader/ChangeLog       |    5 +++++
 plugins/python-loader/python-loader.c |    2 +-
 3 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/NEWS b/NEWS
index b2b3fec..7a44110 100644
--- a/NEWS
+++ b/NEWS
@@ -6,6 +6,7 @@ Morten:
 	* Avoid too many hash collissions for dense sheets.
 	* Speed up operations that iterate over cells in large areas.
 	* Fix problems with linear solvers and cross-sheet target.
+	* Fix python-loader vs. goffice interface problem.
 
 --------------------------------------------------------------------------
 Gnumeric 1.11.4
diff --git a/plugins/python-loader/ChangeLog b/plugins/python-loader/ChangeLog
index 00ae846..dc526a2 100644
--- a/plugins/python-loader/ChangeLog
+++ b/plugins/python-loader/ChangeLog
@@ -1,3 +1,8 @@
+2012-07-08  Morten Welinder  <terra gnome org>
+
+	* python-loader.c (gplp_func_file_open): Add dummy encoding
+	argument so function signature matches goffice.
+
 2012-06-25  Morten Welinder <terra gnome org>
 
 	* Release 1.11.4
diff --git a/plugins/python-loader/python-loader.c b/plugins/python-loader/python-loader.c
index 45cb620..6ed817c 100644
--- a/plugins/python-loader/python-loader.c
+++ b/plugins/python-loader/python-loader.c
@@ -255,7 +255,7 @@ gplp_func_file_open (GOFileOpener const *fo,
 		     GOPluginService *service,
 		     GOIOContext *io_context,
 		     gpointer wb_view,
-		     GsfInput *input)
+		     GsfInput *input, char const *enc)
 {
 	ServiceLoaderDataFileOpener *loader_data;
 	Sheet *sheet, *old_sheet;



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