Cannot use GLib.OptionGroup
gjs> imports.gi.GLib.OptionGroup.new("foo", "bar", "baz", null);
typein:2:29 Error: Function GLib.OptionGroup.new() cannot be called: argument 'destroy' with type interface is not introspectable because it has a DestroyNotify argument with no callback
@typein:2:29
@<stdin>:1:42
Could gjs ignore the destroy argument in this case since it's nullable ?
- gjs 1.70.0
- GLib 2.70.2
- Fedora 35
Edited by Sonny Piers