示例#1
0
void
qof_init (void)
{
#ifndef HAVE_GLIB_2_36
    g_type_init(); /* Automatic as of GLib 2.36 */
#endif
    qof_log_init();
    qof_string_cache_init();
    qof_object_initialize ();
    qof_query_init ();
    qof_book_register ();
}
示例#2
0
void
qof_gobject_init(void)
{
    if (initialized) return;
    initialized = TRUE;

    // gobjectClassTable = g_hash_table_new (g_str_hash, g_str_equal);

    /* Init the other subsystems that we need */
    qof_object_initialize();
    qof_query_init ();
}