r15656 - gnucash/trunk/src/bin - Bug#338107: reorder startup to make `gnucash --help` faster. :p

Josh Sled jsled at cvs.gnucash.org
Sun Feb 25 10:25:52 EST 2007


Author: jsled
Date: 2007-02-25 10:25:51 -0500 (Sun, 25 Feb 2007)
New Revision: 15656
Trac: http://svn.gnucash.org/trac/changeset/15656

Modified:
   gnucash/trunk/src/bin/gnucash-bin.c
Log:
Bug#338107: reorder startup to make `gnucash --help` faster. :p


Modified: gnucash/trunk/src/bin/gnucash-bin.c
===================================================================
--- gnucash/trunk/src/bin/gnucash-bin.c	2007-02-25 15:08:16 UTC (rev 15655)
+++ gnucash/trunk/src/bin/gnucash-bin.c	2007-02-25 15:25:51 UTC (rev 15656)
@@ -556,12 +556,13 @@
     qof_log_init();
     qof_log_set_default(QOF_LOG_INFO);
  
-    gnc_module_system_init();
     environment_override();
     gnucash_command_line(&argc, argv);
     gnc_print_unstable_message();
     gnc_log_init();
 
+    gnc_module_system_init();
+
     if (add_quotes_file) {
         gchar *prefix = gnc_path_get_prefix ();
         gchar *pkgsysconfdir = gnc_path_get_pkgsysconfdir ();



More information about the gnucash-changes mailing list