Changes between Version 11 and Version 12 of WebKitGTK/AddingNewWebKit2API
- Timestamp:
- Jan 1, 2019, 5:37:41 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WebKitGTK/AddingNewWebKit2API
v11 v12 21 21 * Remember to add it to webkit2gtk_headers variable in [http://trac.webkit.org/browser/trunk/Source/WebKit2/GNUmakefile.am GNUmakefile.am] file 22 22 * Add a new #include for it to the [http://trac.webkit.org/browser/trunk/Source/WebKit2/UIProcess/API/gtk/webkit2.h main WebKit2 header] 23 * When adding a new GObject or boxed type, define an autocleanup in [http://trac.webkit.org/browser/trunk/Source/WebKit2/UIProcess/API/gtk/WebKitAutocleanups.h WebKitAutocleanups.h] or [http://trac.webkit.org/browser/trunk/Source/WebKit2/WebProcess/InjectedBundle/API/gtk/WebKitWebExtensionAutocleanups.h WebKitWebExtensionAutocleanups.h]23 * When adding a new GObject or boxed type, define an autocleanup in [http://trac.webkit.org/browser/trunk/Source/WebKit2/UIProcess/API/gtk/WebKitAutocleanups.h WebKitAutocleanups.h], [http://trac.webkit.org/browser/trunk/Source/WebKit2/WebProcess/InjectedBundle/API/gtk/WebKitWebExtensionAutocleanups.h WebKitWebExtensionAutocleanups.h], or [https://trac.webkit.org/browser/webkit/trunk/Source/JavaScriptCore/API/glib/JSCAutocleanups.h JSCAutocleanups.h]. **Please stop forgetting this step. :)** 24 24 * Follow coding style guidelines 25 25 * Use GNOME coding style for public headers and generated code (get_type(), init() and class_init() methods)