mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Bug #623844 - CRITICAL gnc.backend Error message in trace file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19350 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
e5b47e0eda
commit
f1edb7422d
@ -1120,6 +1120,8 @@ retain_type_changed_cb(GConfEntry *entry, gpointer user_data)
|
||||
gchar *choice = NULL;
|
||||
g_return_if_fail(be != NULL);
|
||||
choice = gnc_gconf_get_string(GCONF_GENERAL, KEY_RETAIN_TYPE, NULL);
|
||||
if (!choice)
|
||||
choice = g_strdup("days");
|
||||
|
||||
if (safe_strcmp (choice, "never") == 0)
|
||||
be->file_retention_type = XML_RETAIN_NONE;
|
||||
|
Loading…
Reference in New Issue
Block a user