[Webkit-unassigned] [Bug 101079] New: [GTK] Clean up g_return macros usage in GObject DOM bindings

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 2 11:42:42 PDT 2012


           Summary: [GTK] Clean up g_return macros usage in GObject DOM
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: cgarcia at igalia.com
                CC: xan.lopez at gmail.com, zandobersek at gmail.com
        Depends on: 101077

g_return macros should be used to check parameters of public API methods. For DOM bindings GObjects types, it would be better to use the GObject macros to check the type in the glib type system, and not only if it's NULL or not. Return value of g_return_val_if_fail() for boolean methods should be FALSE instead of 0. We should also protect GError parameters with g_return macros.

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