Browse Source

fix incorrect attributes arguments

sisyphus
Dustin Falgout 9 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, globalObject,
JSStringCreateWithUTF8CString("__GreeterConfig"), JSStringCreateWithUTF8CString("__GreeterConfig"),
greeter_config_object, greeter_config_object,
(JSPropertyAttributes) (kJSPropertyAttributeDontEnum || kJSPropertyAttributeReadOnly), kJSPropertyAttributeDontEnum | kJSPropertyAttributeReadOnly,
NULL); NULL);
theme_utils_object = JSObjectMake(jsContext, theme_utils_class, NULL); theme_utils_object = JSObjectMake(jsContext, theme_utils_class, NULL);
@ -1630,7 +1630,7 @@ window_object_cleared_callback(WebKitScriptWorld *world,
globalObject, globalObject,
JSStringCreateWithUTF8CString("__ThemeUtils"), JSStringCreateWithUTF8CString("__ThemeUtils"),
theme_utils_object, theme_utils_object,
(JSPropertyAttributes) (kJSPropertyAttributeDontEnum || kJSPropertyAttributeReadOnly), kJSPropertyAttributeDontEnum | kJSPropertyAttributeReadOnly,
NULL); NULL);
dom_document = webkit_web_page_get_dom_document(web_page); dom_document = webkit_web_page_get_dom_document(web_page);

Loading…
Cancel
Save