Quoting Josh Sled <[EMAIL PROTECTED]>:
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.
Is it legal to call g_type_init() multiple times? If so, then perhaps
we should add it to the gncmod initialization routine? I'm not sure that
every test should need to remember to initialize this.
-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