[Webkit-unassigned] [Bug 43802] New: [GTK] WebBackForwardList's new_with_web_view should not be public

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 10 11:50:44 PDT 2010


           Summary: [GTK] WebBackForwardList's new_with_web_view should
                    not be public
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Keywords: Gtk
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: gns at gnome.org
                CC: xan.lopez at gmail.com

Someone trying to use WebKitGTK+ through GObject Introspection bumped into a problem with WebBackForwardList - instantiating it using the default constructor fails badly because the WebKit object is not backed by an appropriate WebCore object. I think that is by design - the backforwardlist seems to only be useful when attached to a WebView anyway, and every WebView has its backforwardlist already. I think that means we want to do two things:

* Annotate WebBackForwardList as a type that should not allow instantiation - the WebView is the one who creates the only instances that should exist
* Deprecate webkit_web_back_forward_list_new_with_web_view as a publicly exported function, and make it private instead

Anyone knows better? I found no users of this API.

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