From 7b32791f0b148f04fee57b96368e1be5d8d6476e Mon Sep 17 00:00:00 2001 From: Geert Janssens Date: Wed, 9 Jun 2010 16:40:35 +0000 Subject: [PATCH] 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 --- src/bin/Makefile.am | 1 - src/bin/gnucash-bin.c | 13 +------------ 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/src/bin/Makefile.am b/src/bin/Makefile.am index 8e6c4484b0..708ff6507f 100644 --- a/src/bin/Makefile.am +++ b/src/bin/Makefile.am @@ -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 \ diff --git a/src/bin/gnucash-bin.c b/src/bin/gnucash-bin.c index 8f8647279b..e8307bef37 100644 --- a/src/bin/gnucash-bin.c +++ b/src/bin/gnucash-bin.c @@ -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");