Added g_type_init for older glib versions