Browse Source

fix incorrect attributes arguments

sisyphus
Dustin Falgout 8 years ago
parent
commit
fb46cba0bd
  1. 4
      src/webkit2-extension.c

4
src/webkit2-extension.c

@ -1622,7 +1622,7 @@ window_object_cleared_callback(WebKitScriptWorld *world,
globalObject,
JSStringCreateWithUTF8CString("__GreeterConfig"),
greeter_config_object,
(JSPropertyAttributes) (kJSPropertyAttributeDontEnum || kJSPropertyAttributeReadOnly),
kJSPropertyAttributeDontEnum | kJSPropertyAttributeReadOnly,
NULL);
theme_utils_object = JSObjectMake(jsContext, theme_utils_class, NULL);
@ -1630,7 +1630,7 @@ window_object_cleared_callback(WebKitScriptWorld *world,
globalObject,
JSStringCreateWithUTF8CString("__ThemeUtils"),
theme_utils_object,
(JSPropertyAttributes) (kJSPropertyAttributeDontEnum || kJSPropertyAttributeReadOnly),
kJSPropertyAttributeDontEnum | kJSPropertyAttributeReadOnly,
NULL);
dom_document = webkit_web_page_get_dom_document(web_page);

Loading…
Cancel
Save