Port to gobject-introspection (PyGObject v3.x)