Commit 905a9cce authored by Morten Welinder's avatar Morten Welinder

SheetView: fix typo causing crashes on sheet object removal.

parent 3328d304
2018-10-02 Morten Welinder <terra@gnome.org>
* src/sheet-view.c (sv_real_dispose): Fix typo.
2018-10-01 Morten Welinder <terra@gnome.org>
* src/workbook-view.c (wb_view_set_property): Fix setting of
......
......@@ -223,7 +223,7 @@ sv_real_dispose (GObject *object)
while (sv->controls->len > 0) {
SheetControl *control =
g_ptr_array_index (sv->controls,
sv->controls->len - 10);
sv->controls->len - 1);
gnm_sheet_view_detach_control (sv, control);
g_object_unref (control);
}
......
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