add g_type_init() call

funny this didn't throw errors locally