r19248 - gnucash/trunk/src/bin - Remove command line parameter that is ignored anyway.

Geert Janssens gjanssens at code.gnucash.org
Wed Jun 9 12:40:36 EDT 2010


Author: gjanssens
Date: 2010-06-09 12:40:35 -0400 (Wed, 09 Jun 2010)
New Revision: 19248
Trac: http://svn.gnucash.org/trac/changeset/19248

Modified:
   gnucash/trunk/src/bin/Makefile.am
   gnucash/trunk/src/bin/gnucash-bin.c
Log:
Remove command line parameter that is ignored anyway.

Modified: gnucash/trunk/src/bin/Makefile.am
===================================================================
--- gnucash/trunk/src/bin/Makefile.am	2010-06-09 08:12:42 UTC (rev 19247)
+++ gnucash/trunk/src/bin/Makefile.am	2010-06-09 16:40:35 UTC (rev 19248)
@@ -4,7 +4,6 @@
 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 \

Modified: gnucash/trunk/src/bin/gnucash-bin.c
===================================================================
--- gnucash/trunk/src/bin/gnucash-bin.c	2010-06-09 08:12:42 UTC (rev 19247)
+++ gnucash/trunk/src/bin/gnucash-bin.c	2010-06-09 16:40:35 UTC (rev 19248)
@@ -92,7 +92,6 @@
    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 @@
 #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
@@ -387,13 +383,6 @@
             _("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"),
             /* Translators: Argument description for autohelp; see
@@ -586,7 +575,7 @@
     SCM main_mod;
     char* fn;
     GError *error = NULL;
- 
+
     scm_c_eval_string("(debug-set! stack 200000)");
 
     main_mod = scm_c_resolve_module("gnucash main");



More information about the gnucash-changes mailing list