[Webkit-unassigned] [Bug 68371] [GTK][WEBKIT2] Add WebKitWebSettings GTK+ API

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 29 02:59:37 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=68371





--- Comment #33 from Nayan Kumar K <nayankk at motorola.com>  2011-09-29 02:59:37 PST ---
(From update of attachment 109141)
View in context: https://bugs.webkit.org/attachment.cgi?id=109141&action=review

>> Source/WebKit2/UIProcess/API/gtk/WebKitWebSettings.cpp:41
>> +        preferences = WKPreferencesCreate();
> 
> Why did you remove default values initialization?

Property set function gets called when we install the property using g_object_class_install_property, with the default value passed as g_param_spec (http://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-class-install-property), thus setting the WebKit preference to the one specified via g_param_spec. Hence it is not necessary to initialize them separately.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list