Commit df8542a0 authored by Cosimo Cecchi's avatar Cosimo Cecchi

Merge branch 'fix-enumerable-gtype-property' into 'master'

wrapperutils: Define $gtype property as non-enumerable

See merge request GNOME/gjs!268
parents b0b4ec02 a8c0217b
......@@ -93,7 +93,7 @@ bool gjs_wrapper_define_gtype_prop(JSContext* cx, JS::HandleObject constructor,
const GjsAtoms& atoms = GjsContextPrivate::atoms(cx);
return JS_DefinePropertyById(cx, constructor, atoms.gtype(), gtype_obj,
GJS_MODULE_PROP_FLAGS);
JSPROP_PERMANENT);
}
// These policies work around having separate g_foo_info_get_n_methods() and
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment