mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-20 11:48:30 -06:00
Bug #551038: Don't destroy the options database before destroying the options dialog that depends on it.
BP git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17508 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
6f4cecf48e
commit
8e9551af98
@ -117,8 +117,8 @@ gnc_style_sheet_options_close_cb(GNCOptionWin * propertybox,
|
||||
gtk_tree_path_free(path);
|
||||
}
|
||||
gtk_tree_row_reference_free (ssi->row_ref);
|
||||
gnc_option_db_destroy(ssi->odb);
|
||||
gnc_options_dialog_destroy(ssi->odialog);
|
||||
gnc_option_db_destroy(ssi->odb);
|
||||
scm_gc_unprotect_object(ssi->stylesheet);
|
||||
g_free(ssi);
|
||||
}
|
||||
|
@ -112,9 +112,9 @@ gnc_options_dialog_close_cb(GNCOptionWin * propertybox,
|
||||
SCM set_editor = scm_c_eval_string("gnc:report-set-editor-widget!");
|
||||
|
||||
scm_call_2(set_editor, win->cur_report, SCM_BOOL_F);
|
||||
gnc_options_dialog_destroy(win->win);
|
||||
gnc_option_db_destroy(win->db);
|
||||
scm_gc_unprotect_object(win->scm_options);
|
||||
gnc_options_dialog_destroy(win->win);
|
||||
g_free(win);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user