diff options
Diffstat (limited to 'installed-tests')
-rw-r--r-- | installed-tests/js/testGObjectClass.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/installed-tests/js/testGObjectClass.js b/installed-tests/js/testGObjectClass.js index 459a9932..1e95e3a6 100644 --- a/installed-tests/js/testGObjectClass.js +++ b/installed-tests/js/testGObjectClass.js @@ -1176,6 +1176,8 @@ describe('Property bindings', function () { }); it('can be set up as a group', function () { + if (GObject.BindingGroup === undefined) + pending('GLib version too old'); const group = new GObject.BindingGroup({source: a}); group.bind('string', b, 'string', GObject.BindingFlags.NONE); a.string = 'foo'; @@ -1184,6 +1186,8 @@ describe('Property bindings', function () { }); it('can be set up as a group with custom mappings', function () { + if (GObject.BindingGroup === undefined) + pending('GLib version too old'); const group = new GObject.BindingGroup({source: a}); group.bind_full('bool', b, 'string', GObject.BindingFlags.NONE, (bind, source) => [true, `${source}`], |