diff --git a/src/scripting/smjs/bookmarks.c b/src/scripting/smjs/bookmarks.c index dfeef0b3..c72ca5df 100644 --- a/src/scripting/smjs/bookmarks.c +++ b/src/scripting/smjs/bookmarks.c @@ -184,7 +184,7 @@ static const JSClass bookmark_folder_class = { "bookmark_folder", JSCLASS_HAS_PRIVATE, JS_PropertyStub, JS_PropertyStub, - bookmark_folder_get_property, NULL, + bookmark_folder_get_property, JS_PropertyStub, JS_EnumerateStub, JS_ResolveStub, JS_ConvertStub, bookmark_finalize, }; diff --git a/src/scripting/smjs/keybinding.c b/src/scripting/smjs/keybinding.c index 200daf76..54541ab5 100644 --- a/src/scripting/smjs/keybinding.c +++ b/src/scripting/smjs/keybinding.c @@ -171,7 +171,7 @@ static const JSClass keymaps_hash_class = { "keymaps_hash", JSCLASS_HAS_PRIVATE, JS_PropertyStub, JS_PropertyStub, - NULL, NULL, + JS_PropertyStub, JS_PropertyStub, JS_EnumerateStub, JS_ResolveStub, JS_ConvertStub, JS_FinalizeStub, };