Changes between Version 4 and Version 5 of WebKitGTK/AddingNewWebKit2API
- Timestamp:
- Nov 24, 2011, 8:02:24 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WebKitGTK/AddingNewWebKit2API
v4 v5 38 38 * Use wtf classes (CString, HashMap, etc.) and GRefPtr/GOwnPtr for attributes so that they are automatically freed by the private structure destructor 39 39 * Don't make private structures public in Private.h headers, keep them in the corresponding .cpp file and add private API for accessing them when needed. 40 * Use GObject properties only for attributes that can change their value at any time, so that users can monitor them connecting to notify signal.41 40 * Add always public get/set methods even for attributes that are GObject properties 42 41 * Protect arguments of public methods using g_return_if_fail() and g_return_val_if_fail() macros