diff options
author | Bastien Nocera <hadess@hadess.net> | 2022-08-23 16:08:24 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2022-08-23 16:11:47 +0200 |
commit | ab2e8dac222a8efd68c874a9ffeadbbb34d33ad6 (patch) | |
tree | 976471b2faab0dc142d95468f36de23d20a66093 /ChangeLog.README | |
parent | 2334239e822fe5a0f2838771b7b71df6a93af61a (diff) | |
download | gnome-bluetooth-ab2e8dac222a8efd68c874a9ffeadbbb34d33ad6.tar.gz |
lib: Fix enums being inaccessible from GJS
Add enum type generation code to the gir sources. This fixes enum types
showing up as 'undefined' in gjs.
The change did not impact Python.
--✀--
const {Gio, GLib, GnomeBluetooth, GObject} = imports.gi;
client = new GnomeBluetooth.Client();
client.connect('notify', () => {
print(client.default_adapter_state);
});
ml = new GLib.MainLoop(null, false);
ml.run()
--✀--
Diffstat (limited to 'ChangeLog.README')
0 files changed, 0 insertions, 0 deletions