Commit 5a296b5b authored by Jody Goldberg's avatar Jody Goldberg Committed by Jody Goldberg

bump gsf req to 1.12.1 for the new GSF_DYNAMIC_CLASS signatures


2005-06-03  Jody Goldberg <jody@gnome.org>

	* configure.in : bump gsf req to 1.12.1 for the new GSF_DYNAMIC_CLASS
	  signatures
parent 07002155
2005-06-03 Jody Goldberg <jody@gnome.org>
* configure.in : bump gsf req to 1.12.1 for the new GSF_DYNAMIC_CLASS
signatures
2005-06-02 Morten Welinder <terra@gnome.org>
* src/mathfunc.c (binomialcf): Fix log_p case.
......
......@@ -24,6 +24,7 @@ Jody:
* Support external array iteration (thanks to planmaker for the test).
* Use the print settings for each sheet when printing a workbook.
* Fix small positioning glitch when creating widgets. [#304559]
* Improve handling of some odd XL operators.
Jon Kåre:
* Don't output the xml declaration for xhtml. [#303827]
......
2005-06-03 Jody Goldberg <jody@gnome.org>
* configure.in : bump gsf req to 1.12.1 for the new GSF_DYNAMIC_CLASS
signatures
2005-06-02 Morten Welinder <terra@gnome.org>
* src/mathfunc.c (binomialcf): Fix log_p case.
......
......@@ -115,7 +115,7 @@ gnumeric_reqs="
glib-2.0 >= 2.6.0
gobject-2.0 >= 2.6.0
gmodule-2.0 >= 2.6.0
libgsf-1 >= 1.12.0
libgsf-1 >= 1.12.1
libgoffice-1 >= 0.0.2
libxml-2.0 >= 2.4.12
pango >= 1.8.1
......@@ -134,7 +134,7 @@ gnumeric_gnome_reqs="
libbonoboui-2.0 >= 2.2.0
libgnome-2.0 >= 2.0.0
libgnomeui-2.0 >= 2.0.0
libgsf-gnome-1 >= 1.12.0
libgsf-gnome-1 >= 1.12.1
"
ui_msg=
......
......@@ -281,19 +281,6 @@ gnm_py_interpreter_compare (gconstpointer a, gconstpointer b)
}
}
static GType gnm_py_interpreter_type;
GType
gnm_py_interpreter_get_type ()
{
return gnm_py_interpreter_type;
}
void
gnm_py_interpreter_register (GOPlugin *plugin)
{
GSF_DYNAMIC_CLASS (GnmPyInterpreter, gnm_py_interpreter,
gnm_py_interpreter_class_init, gnm_py_interpreter_init,
G_TYPE_OBJECT,
G_TYPE_MODULE (plugin), gnm_py_interpreter_type);
}
GSF_DYNAMIC_CLASS (GnmPyInterpreter, gnm_py_interpreter,
gnm_py_interpreter_class_init, gnm_py_interpreter_init,
G_TYPE_OBJECT)
......@@ -263,17 +263,6 @@ gnm_python_clear_error_if_needed (GnmPython *gpy)
}
}
static GType gnm_python_type;
GType
gnm_python_get_type ()
{
return gnm_python_type;
}
void
gnm_python_register (GOPlugin *plugin)
{
GSF_DYNAMIC_CLASS (GnmPython, gnm_python,
gnm_python_class_init, gnm_python_init, G_TYPE_OBJECT,
G_TYPE_MODULE (plugin), gnm_python_type);
}
GSF_DYNAMIC_CLASS (GnmPython, gnm_python,
gnm_python_class_init, gnm_python_init,
G_TYPE_OBJECT)
......@@ -165,18 +165,7 @@ gnm_py_command_line_new (void)
return g_object_new (GNM_PY_COMMAND_LINE_TYPE, NULL);
}
static GType gnm_py_command_line_type;
GType
gnm_py_command_line_get_type ()
{
return gnm_py_command_line_type;
}
void
gnm_py_command_line_register (GOPlugin *plugin)
{
GSF_DYNAMIC_CLASS (GnmPyCommandLine, gnm_py_command_line,
gnm_py_command_line_class_init, gnm_py_command_line_init,
GTK_TYPE_ENTRY,
G_TYPE_MODULE (plugin), gnm_py_command_line_type);
}
GSF_DYNAMIC_CLASS (GnmPyCommandLine, gnm_py_command_line,
gnm_py_command_line_class_init, gnm_py_command_line_init,
GTK_TYPE_ENTRY)
......@@ -410,7 +410,8 @@ python_call_gnumeric_function (GnmFunc *fn_def, const GnmEvalPos *opt_eval_pos,
values[i] = py_obj_to_gnm_value (eval_pos, py_val);
}
ret_val = function_def_call_with_values (eval_pos, fn_def, n_args, values);
ret_val = function_def_call_with_values (eval_pos, fn_def, n_args,
(GnmValue const * const *)values);
py_ret_val = gnm_value_to_py_obj (eval_pos, ret_val);
value_release (ret_val);
for (i = 0; i < n_args; i++) {
......@@ -422,7 +423,7 @@ python_call_gnumeric_function (GnmFunc *fn_def, const GnmEvalPos *opt_eval_pos,
}
GnmValue *
call_python_function (PyObject *python_fn, const GnmEvalPos *eval_pos, gint n_args, GnmValue **args)
call_python_function (PyObject *python_fn, GnmEvalPos const *eval_pos, gint n_args, GnmValue const * const *args)
{
PyObject *python_args;
PyObject *python_ret_value;
......
......@@ -9,8 +9,9 @@
void py_initgnumeric (GnmPyInterpreter *interpreter);
GnmValue *call_python_function (PyObject *python_fn, GnmEvalPos const *eval_pos,
gint n_args, GnmValue **args);
GnmValue *call_python_function (PyObject *python_fn,
GnmEvalPos const *eval_pos,
gint n_args, GnmValue const * const *args);
gchar *py_exc_to_string (void);
PyObject *py_new_Sheet_object (Sheet *sheet);
PyObject *py_new_Workbook_object (Workbook *wb);
......
......@@ -255,19 +255,6 @@ gnm_py_interpreter_selector_get_current (GnmPyInterpreterSelector *sel)
return sel->cur_interpreter;
}
static GType gnm_py_interpreter_type;
GType
gnm_py_interpreter_selector_get_type ()
{
return gnm_py_interpreter_type;
}
void
gnm_py_interpreter_selector_register (GOPlugin *plugin)
{
GSF_DYNAMIC_CLASS (GnmPyInterpreterSelector, gnm_py_interpreter_selector,
gnm_py_interpreter_selector_class_init,
gnm_py_interpreter_selector_init, GTK_TYPE_COMBO_BOX,
G_TYPE_MODULE (plugin), gnm_py_interpreter_type);
}
GSF_DYNAMIC_CLASS (GnmPyInterpreterSelector, gnm_py_interpreter_selector,
gnm_py_interpreter_selector_class_init,
gnm_py_interpreter_selector_init, GTK_TYPE_COMBO_BOX)
......@@ -451,7 +451,7 @@ gplp_loader_data_fngroup_free (ServiceLoaderDataFunctionGroup *loader_data)
}
static GnmValue *
call_python_function_args (FunctionEvalInfo *ei, GnmValue **args)
call_python_function_args (FunctionEvalInfo *ei, GnmValue const * const *args)
{
GOPluginService *service;
ServiceLoaderDataFunctionGroup *loader_data;
......@@ -481,7 +481,7 @@ call_python_function_args (FunctionEvalInfo *ei, GnmValue **args)
}
static GnmValue *
call_python_function_nodes (FunctionEvalInfo *ei, GnmExprList *expr_tree_list)
call_python_function_nodes (FunctionEvalInfo *ei, GnmExprList const *expr_tree_list)
{
GOPluginService *service;
ServiceLoaderDataFunctionGroup *loader_data;
......@@ -489,7 +489,7 @@ call_python_function_nodes (FunctionEvalInfo *ei, GnmExprList *expr_tree_list)
GnmFunc const * fndef;
GnmValue **values;
gint n_args, i;
GnmExprList *l;
GnmExprList const *l;
GnmValue *ret_value;
g_return_val_if_fail (ei != NULL, NULL);
......@@ -507,7 +507,8 @@ call_python_function_nodes (FunctionEvalInfo *ei, GnmExprList *expr_tree_list)
for (i = 0, l = expr_tree_list; l != NULL; i++, l = l->next) {
values[i] = gnm_expr_eval (l->data, ei->pos, GNM_EXPR_EVAL_PERMIT_NON_SCALAR);
}
ret_value = call_python_function (python_fn, ei->pos, n_args, values);
ret_value = call_python_function (python_fn, ei->pos, n_args,
(GnmValue const * const *)values);
for (i = 0; i < n_args; i++) {
value_release (values[i]);
}
......@@ -841,19 +842,7 @@ go_plugin_loader_init (GOPluginLoaderClass *iface)
iface->service_unload = gplp_service_unload;
}
static GType gnm_python_plugin_loader_type;
GType
gnm_python_plugin_loader_get_type ()
{
return gnm_python_plugin_loader_type;
}
void
gnm_python_plugin_loader_register (GOPlugin *plugin)
{
GSF_DYNAMIC_CLASS_FULL (GnmPythonPluginLoader, gnm_python_plugin_loader,
gplp_class_init, gplp_init,
G_TYPE_OBJECT, 0,
GSF_INTERFACE_FULL (gnm_python_plugin_loader_type, go_plugin_loader_init, GO_PLUGIN_LOADER_TYPE),
G_TYPE_MODULE (plugin), gnm_python_plugin_loader_type);
}
GSF_DYNAMIC_CLASS_FULL (GnmPythonPluginLoader, gnm_python_plugin_loader,
gplp_class_init, gplp_init,
G_TYPE_OBJECT, 0,
GSF_INTERFACE_FULL (gnm_python_plugin_loader_type, go_plugin_loader_init, GO_PLUGIN_LOADER_TYPE))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment