mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Revert r14862 here because the initialization from gnucash-bin.c is also sufficient for win32.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14868 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
da75b9cde4
commit
a29620b601
@ -37,7 +37,6 @@
|
|||||||
#include "SchedXactionP.h"
|
#include "SchedXactionP.h"
|
||||||
#include "FreqSpecP.h"
|
#include "FreqSpecP.h"
|
||||||
#include "gnc-pricedb-p.h"
|
#include "gnc-pricedb-p.h"
|
||||||
#include "binreloc.h"
|
|
||||||
|
|
||||||
/** gnc file backend library name */
|
/** gnc file backend library name */
|
||||||
#define GNC_LIB_NAME "gnc-backend-file"
|
#define GNC_LIB_NAME "gnc-backend-file"
|
||||||
@ -88,21 +87,9 @@ gnc_engine_init(int argc, char ** argv)
|
|||||||
GList * cur;
|
GList * cur;
|
||||||
gchar *tracefilename;
|
gchar *tracefilename;
|
||||||
gchar *libdir;
|
gchar *libdir;
|
||||||
#ifdef G_OS_WIN32
|
|
||||||
GError *binreloc_error = NULL;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if (1 == engine_is_initialized) return;
|
if (1 == engine_is_initialized) return;
|
||||||
|
|
||||||
#ifdef G_OS_WIN32
|
|
||||||
/* Init binreloc from a library. On Unix we don't need this - the
|
|
||||||
init in main() is enough. It's unclear whether we need this on
|
|
||||||
Windows here... */
|
|
||||||
if (!gbr_init_lib (&binreloc_error)) {
|
|
||||||
printf("gnc_engine_init: Error on gbr_init_lib: %s\n", binreloc_error->message);
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* initialize logging to our file. */
|
/* initialize logging to our file. */
|
||||||
tracefilename = g_build_filename(g_get_tmp_dir(), "gnucash.trace",
|
tracefilename = g_build_filename(g_get_tmp_dir(), "gnucash.trace",
|
||||||
(gchar *)NULL);
|
(gchar *)NULL);
|
||||||
|
Loading…
Reference in New Issue
Block a user