[gnumeric] Make python loader build again



commit 99fd7280f006740ab411d3fe8e0318350d3b2c70
Author: Jean Brefort <jean brefort normalesup org>
Date:   Wed Mar 30 16:24:58 2011 +0200

    Make python loader build again

 plugins/python-loader/ChangeLog       |    4 ++++
 plugins/python-loader/python-loader.c |    4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/plugins/python-loader/ChangeLog b/plugins/python-loader/ChangeLog
index 7672bc3..3a6d7bb 100644
--- a/plugins/python-loader/ChangeLog
+++ b/plugins/python-loader/ChangeLog
@@ -1,3 +1,7 @@
+2011-03-30  Jean Brefort  <jean brefort normalesup org>
+
+	* python-loader.c: fix cals to gnm_func_get_name().
+
 2011-03-24  Morten Welinder <terra gnome org>
 
 	* Release 1.10.14
diff --git a/plugins/python-loader/python-loader.c b/plugins/python-loader/python-loader.c
index 5a4fa3f..45cb620 100644
--- a/plugins/python-loader/python-loader.c
+++ b/plugins/python-loader/python-loader.c
@@ -476,7 +476,7 @@ call_python_function_args (GnmFuncEvalInfo *ei, GnmValue const * const *args)
 	loader_data = g_object_get_data (G_OBJECT (service), "loader_data");
 	SWITCH_TO_PLUGIN (go_plugin_service_get_plugin (service));
 	fn_info_tuple = PyDict_GetItemString (loader_data->python_fn_info_dict,
-	                                      (gchar *) gnm_func_get_name (fndef));
+	                                      (gchar *) gnm_func_get_name (fndef, FALSE));
 	g_assert (fn_info_tuple != NULL);
 	python_fn = PyTuple_GetItem (fn_info_tuple, 2);
 	function_def_count_args (fndef, &min_n_args, &max_n_args);
@@ -506,7 +506,7 @@ call_python_function_nodes (GnmFuncEvalInfo *ei,
 	loader_data = g_object_get_data (G_OBJECT (service), "loader_data");
 	SWITCH_TO_PLUGIN (go_plugin_service_get_plugin (service));
 	python_fn = PyDict_GetItemString (loader_data->python_fn_info_dict,
-	                                  (gchar *) gnm_func_get_name (fndef));
+	                                  (gchar *) gnm_func_get_name (fndef, FALSE));
 
 	values = g_new (GnmValue *, argc);
 	for (i = 0; i < argc; i++) {



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