[Gnucash-changes] r13278 - gnucash/trunk - need g_type_init()
because we don't actually "load" the file backend.
Derek Atkins
warlord at cvs.gnucash.org
Thu Feb 16 01:06:25 EST 2006
Author: warlord
Date: 2006-02-16 01:06:25 -0500 (Thu, 16 Feb 2006)
New Revision: 13278
Trac: http://svn.gnucash.org/trac/changeset/13278
Modified:
gnucash/trunk/ChangeLog
gnucash/trunk/src/backend/file/test/test-load-xml2.c
Log:
need g_type_init() because we don't actually "load" the file backend.
Modified: gnucash/trunk/ChangeLog
===================================================================
--- gnucash/trunk/ChangeLog 2006-02-16 04:50:37 UTC (rev 13277)
+++ gnucash/trunk/ChangeLog 2006-02-16 06:06:25 UTC (rev 13278)
@@ -19,6 +19,9 @@
move jsled's g-type initialization into the module init
this way we don't need to worry about it in every test app.
+ * src/backend/file/test/test-load/xml2.c:
+ need g_type_init() because we don't actually "load" the file backend.
+
2006-02-15 Joshua Sled <jsled at asynchronous.org>
* src/backend/file/test/test-load-xml2.c (main): Initialize
Modified: gnucash/trunk/src/backend/file/test/test-load-xml2.c
===================================================================
--- gnucash/trunk/src/backend/file/test/test-load-xml2.c 2006-02-16 04:50:37 UTC (rev 13277)
+++ gnucash/trunk/src/backend/file/test/test-load-xml2.c 2006-02-16 06:06:25 UTC (rev 13278)
@@ -34,6 +34,7 @@
#include <dirent.h>
#include <string.h>
#include <glib.h>
+#include <glib-object.h>
#include "cashobjects.h"
#include "Group.h"
@@ -108,6 +109,7 @@
const char *location = getenv("GNC_TEST_FILES");
DIR *xml2_dir;
+ g_type_init();
qof_init();
cashobjects_register();
do_test(
@@ -119,7 +121,6 @@
location = "test-files/xml2";
}
-
xaccLogDisable();
if((xml2_dir = opendir(location)) == NULL)
More information about the gnucash-changes
mailing list