Changes between Version 11 and Version 12 of WebKitGTK/AddingNewWebKit2API


Ignore:
Timestamp:
Jan 1, 2019, 5:37:41 PM (6 years ago)
Author:
Michael Catanzaro
Comment:

Update reminder to add autocleanups when adding new types

Legend:

Unmodified
Added
Removed
Modified
  • WebKitGTK/AddingNewWebKit2API

    v11 v12  
    2121  * Remember to add it to webkit2gtk_headers variable in [http://trac.webkit.org/browser/trunk/Source/WebKit2/GNUmakefile.am GNUmakefile.am] file
    2222  * 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. :)**
    2424 * Follow coding style guidelines
    2525  * Use GNOME coding style for public headers and generated code (get_type(), init() and class_init() methods)