The type name `IOExtension` could not be found
Hello guy, here is a vala newbie.
I want to use GIOExtension in vala, valac said there is no such a type, but I can found it at valadoc. How can I let it work?
class Object {
static void main(string[] args) {
IOExtension ext = null;
}
}
valac output:
main.vala:5.9-5.19: error: The type name `IOExtension' could not be found
IOExtension ext = null;
^^^^^^^^^^^
Compilation failed: 1 error(s), 0 warning(s)
Platform:
- Arch Linux
- glib 2.68.3-1
- vala 0.52.4-1