[Webkit-unassigned] [Bug 153786] New: [GTK] Type of WebKitWebView::load-failed is wrong

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 2 06:31:35 PST 2016


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

            Bug ID: 153786
           Summary: [GTK] Type of WebKitWebView::load-failed is wrong
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P3
         Component: WebKit Gtk
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: garetxe at gmail.com
                CC: bugs-noreply at webkitgtk.org

The type for the "load-failed" signal of WebKitWebView (in WebKit2):
http://webkitgtk.org/reference/webkit2gtk/stable/WebKitWebView.html#WebKitWebView-load-failed
is

gboolean
user_function (WebKitWebView  *web_view,
               WebKitLoadEvent load_event,
               gchar          *failing_uri,
               gpointer        error,
               gpointer        user_data)

Notice that the fourth argument, "error", is of type GError*, but its type is given to be a generic gpointer. This is inconvenient for language bindings, since the type of "error", being a raw pointer, needs to be cast by hand to GError before being usable.

The analogous signal in WebKit1 (? The API before WebKit2), WebkitWebView::load-error has the corresponding argument appropriately marked as "GError*".

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160202/bddd37bc/attachment.html>


More information about the webkit-unassigned mailing list