Пример #1
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 ();
}
Пример #2
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 ();
}
Пример #3
0
static void
setup( Fixture *fixture, gconstpointer pData )
{
    qof_object_initialize();
    fixture->qofobject = new_object( "my type object", "object desc", EMPTY );
}