mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-25 10:20:18 -06:00
Remove command line parameter that is ignored anyway.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19248 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
8125921e38
commit
7b32791f0b
@ -4,7 +4,6 @@ SUBDIRS = . overrides test
|
||||
AM_CPPFLAGS = -I${top_builddir} ${GLIB_CFLAGS} ${GNOME_CFLAGS} ${GTK_CFLAGS} \
|
||||
-DPKGSYSCONFDIR=\"${GNC_CONFIGDIR}\" \
|
||||
-DPKGDATADIR=\"${GNC_SHAREDIR}\" \
|
||||
-DGNC_HELPDIR=\"${GNC_HELPDIR}\" \
|
||||
-I${top_srcdir}/src \
|
||||
-I${top_builddir}/src \
|
||||
-I${top_srcdir}/src/core-utils \
|
||||
|
@ -92,7 +92,6 @@ gnc_print_unstable_message(void)
|
||||
overridden by command line options. */
|
||||
static char *config_path = PKGSYSCONFDIR;
|
||||
static char *share_path = PKGDATADIR;
|
||||
static char *help_path = GNC_HELPDIR;
|
||||
static char *gconf_path = APP_GNUCASH;
|
||||
|
||||
static gchar *environment_expand(gchar *param)
|
||||
@ -180,15 +179,12 @@ environment_override()
|
||||
#ifdef G_OS_WIN32
|
||||
config_path = gnc_path_get_pkgsysconfdir();
|
||||
share_path = gnc_path_get_pkgdatadir();
|
||||
help_path = g_path_get_dirname(share_path);
|
||||
#endif /* G_OS_WIN32 */
|
||||
|
||||
if ((path = g_getenv("GNC_CONFIG_PATH")))
|
||||
config_path = g_strdup(path);
|
||||
if ((path = g_getenv("GNC_SHARE_PATH")))
|
||||
share_path = g_strdup(path);
|
||||
if ((path = g_getenv("GNC_DOC_PATH")))
|
||||
help_path = g_strdup(path);
|
||||
if ((path = g_getenv("GNC_GCONF_PATH")))
|
||||
gconf_path = g_strdup(path);
|
||||
#ifdef G_OS_WIN32
|
||||
@ -386,13 +382,6 @@ gnucash_command_line(int *argc, char **argv)
|
||||
http://developer.gnome.org/doc/API/2.0/glib/glib-Commandline-option-parser.html */
|
||||
_("SHAREPATH")
|
||||
},
|
||||
{
|
||||
"doc-path", '\0', 0, G_OPTION_ARG_STRING, &help_path,
|
||||
_("Set the search path for documentation files"),
|
||||
/* Translators: Argument description for autohelp; see
|
||||
http://developer.gnome.org/doc/API/2.0/glib/glib-Commandline-option-parser.html */
|
||||
_("DOCPATH")
|
||||
},
|
||||
{
|
||||
"gconf-path", '\0', 0, G_OPTION_ARG_STRING, &gconf_path,
|
||||
_("Set the prefix path for gconf queries"),
|
||||
@ -586,7 +575,7 @@ inner_main (void *closure, int argc, char **argv)
|
||||
SCM main_mod;
|
||||
char* fn;
|
||||
GError *error = NULL;
|
||||
|
||||
|
||||
scm_c_eval_string("(debug-set! stack 200000)");
|
||||
|
||||
main_mod = scm_c_resolve_module("gnucash main");
|
||||
|
Loading…
Reference in New Issue
Block a user