gnucash maint: Remove duplicate call to gnc_set_default_directory().
John Ralls
jralls at code.gnucash.org
Fri Oct 2 15:43:19 EDT 2015
Updated via https://github.com/Gnucash/gnucash/commit/0ad521c0 (commit)
from https://github.com/Gnucash/gnucash/commit/8f8143b4 (commit)
commit 0ad521c068c61b6e8e55ecf6945a7aec4f0afa6e
Author: John Ralls <jralls at ceridwen.us>
Date: Fri Oct 2 12:43:04 2015 -0700
Remove duplicate call to gnc_set_default_directory().
diff --git a/src/gnome-utils/gnc-file.c b/src/gnome-utils/gnc-file.c
index d47821a..6c8bba2 100644
--- a/src/gnome-utils/gnc-file.c
+++ b/src/gnome-utils/gnc-file.c
@@ -1101,7 +1101,6 @@ check_file_path (const char *path)
gchar *dir = g_path_get_dirname(path);
const gchar *dotgnucash = gnc_dotgnucash_dir();
char *dirpath = dir;
- gnc_set_default_directory (GNC_PREFS_GROUP_OPEN_SAVE, dir);
/* Prevent user from storing file in GnuCash' private configuration
* directory (~/.gnucash by default in linux, but can be overridden)
Summary of changes:
src/gnome-utils/gnc-file.c | 1 -
1 file changed, 1 deletion(-)
More information about the gnucash-changes
mailing list