mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -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} \
|
AM_CPPFLAGS = -I${top_builddir} ${GLIB_CFLAGS} ${GNOME_CFLAGS} ${GTK_CFLAGS} \
|
||||||
-DPKGSYSCONFDIR=\"${GNC_CONFIGDIR}\" \
|
-DPKGSYSCONFDIR=\"${GNC_CONFIGDIR}\" \
|
||||||
-DPKGDATADIR=\"${GNC_SHAREDIR}\" \
|
-DPKGDATADIR=\"${GNC_SHAREDIR}\" \
|
||||||
-DGNC_HELPDIR=\"${GNC_HELPDIR}\" \
|
|
||||||
-I${top_srcdir}/src \
|
-I${top_srcdir}/src \
|
||||||
-I${top_builddir}/src \
|
-I${top_builddir}/src \
|
||||||
-I${top_srcdir}/src/core-utils \
|
-I${top_srcdir}/src/core-utils \
|
||||||
|
@ -92,7 +92,6 @@ gnc_print_unstable_message(void)
|
|||||||
overridden by command line options. */
|
overridden by command line options. */
|
||||||
static char *config_path = PKGSYSCONFDIR;
|
static char *config_path = PKGSYSCONFDIR;
|
||||||
static char *share_path = PKGDATADIR;
|
static char *share_path = PKGDATADIR;
|
||||||
static char *help_path = GNC_HELPDIR;
|
|
||||||
static char *gconf_path = APP_GNUCASH;
|
static char *gconf_path = APP_GNUCASH;
|
||||||
|
|
||||||
static gchar *environment_expand(gchar *param)
|
static gchar *environment_expand(gchar *param)
|
||||||
@ -180,15 +179,12 @@ environment_override()
|
|||||||
#ifdef G_OS_WIN32
|
#ifdef G_OS_WIN32
|
||||||
config_path = gnc_path_get_pkgsysconfdir();
|
config_path = gnc_path_get_pkgsysconfdir();
|
||||||
share_path = gnc_path_get_pkgdatadir();
|
share_path = gnc_path_get_pkgdatadir();
|
||||||
help_path = g_path_get_dirname(share_path);
|
|
||||||
#endif /* G_OS_WIN32 */
|
#endif /* G_OS_WIN32 */
|
||||||
|
|
||||||
if ((path = g_getenv("GNC_CONFIG_PATH")))
|
if ((path = g_getenv("GNC_CONFIG_PATH")))
|
||||||
config_path = g_strdup(path);
|
config_path = g_strdup(path);
|
||||||
if ((path = g_getenv("GNC_SHARE_PATH")))
|
if ((path = g_getenv("GNC_SHARE_PATH")))
|
||||||
share_path = g_strdup(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")))
|
if ((path = g_getenv("GNC_GCONF_PATH")))
|
||||||
gconf_path = g_strdup(path);
|
gconf_path = g_strdup(path);
|
||||||
#ifdef G_OS_WIN32
|
#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 */
|
http://developer.gnome.org/doc/API/2.0/glib/glib-Commandline-option-parser.html */
|
||||||
_("SHAREPATH")
|
_("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,
|
"gconf-path", '\0', 0, G_OPTION_ARG_STRING, &gconf_path,
|
||||||
_("Set the prefix path for gconf queries"),
|
_("Set the prefix path for gconf queries"),
|
||||||
|
Loading…
Reference in New Issue
Block a user