Skip to content

Commit 1f39576

Browse files
fmuellnermtwebster
authored andcommitted
modules/package: Fix checking interface properties
GObject.type_default_interface_ref() is no longer introspectable for some reason, but as it is deprecated in favor of GObject.type_default_interface_get() anyway, use that instead.
1 parent 89d1da1 commit 1f39576

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/script/package.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ function checkSymbol(lib, ver, symbol) {
285285
// GObject property
286286
let pspec = null;
287287
if (GObject.type_is_a(obj.$gtype, GObject.TYPE_INTERFACE)) {
288-
let iface = GObject.type_default_interface_ref(obj.$gtype);
288+
let iface = GObject.type_default_interface_get(obj.$gtype);
289289
pspec = GObject.Object.interface_find_property(iface, sym);
290290
} else if (GObject.type_is_a(obj.$gtype, GObject.TYPE_OBJECT)) {
291291
pspec = GObject.Object.find_property.call(obj.$gtype, sym);

0 commit comments

Comments
 (0)