Error: Can't create a Javascript object for SignalQuery; no way to copy
System information
- Ubuntu 20.10
- gjs 1.66.1
Bug information
Steps to reproduce
const { GObject, Gtk} = imports.gi
let ids = GObject.signal_list_ids(Gtk.Window.$gtype)
let sig = GObject.signal_query(ids[0])
Current behaviour
(gjs:463553): Gjs-CRITICAL **: 09:02:27.185: JS ERROR: Error: Can't create a Javascript object for SignalQuery; no way to copy
@x.js:5:19
(gjs:463553): Gjs-CRITICAL **: 09:02:27.185: Script x.js threw an exception
Expected behaviour
Return signal information.