Use GObject-introspection