call g_type_init() in cairo.trm