diff --git a/src/webkit2-extension.c b/src/webkit2-extension.c index f0de330..6099874 100644 --- a/src/webkit2-extension.c +++ b/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);