Commit 2541c131 authored by Morten Welinder's avatar Morten Welinder

Auto-func: fix setting auto-func.

GnmFunc got turned into an object and this code needed trivial updating.
parent 6634e5f0
2018-10-01 Morten Welinder <terra@gnome.org>
* src/workbook-view.c (wb_view_set_property): Fix setting of
auto-func. [#357]
2018-08-19 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
......
......@@ -2,6 +2,7 @@ Gnumeric 1.12.44
Morten:
* Fix SWITCH's default argument. [#354]
* Fix problem with setting auto-func. [#357]
--------------------------------------------------------------------------
Gnumeric 1.12.43
......
......@@ -708,7 +708,7 @@ wb_view_set_property (GObject *object, guint property_id,
switch (property_id) {
case PROP_AUTO_EXPR_FUNC:
wb_view_auto_expr_func (wbv, g_value_get_boxed (value));
wb_view_auto_expr_func (wbv, g_value_get_object (value));
break;
case PROP_AUTO_EXPR_DESCR:
wb_view_auto_expr_descr (wbv, g_value_get_string (value));
......@@ -770,7 +770,7 @@ wb_view_get_property (GObject *object, guint property_id,
switch (property_id) {
case PROP_AUTO_EXPR_FUNC:
g_value_set_boxed (value, wbv->auto_expr.func);
g_value_set_object (value, wbv->auto_expr.func);
break;
case PROP_AUTO_EXPR_DESCR:
g_value_set_string (value, wbv->auto_expr.descr);
......
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