For windows, ignore gnc_engine_is_initialized check for now because it doesn't work correctly.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14803 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Christian Stimming 2006-09-06 09:26:41 +00:00
parent 3c084dfc7a
commit 8ae5136206

View File

@ -374,8 +374,14 @@ load_gnucash_modules()
gnc_module_load(modules[i].name, modules[i].version);
}
if (!gnc_engine_is_initialized()) {
#ifdef G_OS_WIN32
g_warning("GnuCash engine indicates it hasn't been initialized correctly. On Windows this mechanism is know not to work. Ignoring for now.\n");
/* See more detailed discussion here
https://lists.gnucash.org/pipermail/gnucash-devel/2006-September/018529.html */
#else
g_error("GnuCash engine failed to initialize. Exiting.\n");
exit(0);
#endif
}
}