Josh Sled <[EMAIL PROTECTED]> writes: > On Wed, 2006-02-15 at 11:24 -0500, Derek Atkins wrote: >> I was trying to test a buildsystem change and noticed that "make check" >> is failing now. I suspect this is due to adding gconf into the >> xml backend. Here's the backtrace from test-load-xml2. > > It was due to the g-types system not being initialized before calling > gconf code, as is documented in the gconf API. :/ I fixed this > instance by calling g_type_init() at the top of the test's main.
I moved the init into the module.... but the test doesn't actually LOAD the module -- it just links against it. *sigh* So the module init code was never called. Bad Test! No Biscuit! I left the init in the module, but I also re-added the init to the test, rather that loading the module. *sigh* -derek -- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Member, MIT Student Information Processing Board (SIPB) URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH [EMAIL PROTECTED] PGP key available _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel