r15320 - gnucash/trunk - Call g_module_make_resident in qof backend provider modules.

Andreas Köhler andi5 at cvs.gnucash.org
Sun Jan 7 02:04:21 EST 2007


Author: andi5
Date: 2007-01-07 02:04:17 -0500 (Sun, 07 Jan 2007)
New Revision: 15320
Trac: http://svn.gnucash.org/trac/changeset/15320

Modified:
   gnucash/trunk/lib/libqof/backend/file/qsf-backend.c
   gnucash/trunk/lib/libqof/qof/qofbackend.c
   gnucash/trunk/src/backend/file/gnc-backend-file.c
Log:
Call g_module_make_resident in qof backend provider modules.

If the GncModule system finds a QofBackendProvider module M before that
has been initialized by QOF, M will register itself with QOF but does
not mark itself as resident, so the module system will unload it again,
leaving bogus pointers in QOF. Now it does.




More information about the gnucash-patches mailing list