Bug 174767

Summary: [GTK] A typo in the reference manual of WebKitWebInspector
Product: WebKit Reporter: Takuro Ashie <ashie>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: berto, bugs-noreply, buildbot, cgarcia, commit-queue, gustavo, mcatanzaro
Priority: P3 Keywords: Gtk
Version: WebKit Nightly Build   
Hardware: PC   
OS: Linux   
Attachments:
Description Flags
Patch none

Description Takuro Ashie 2017-07-23 19:23:37 PDT
There is a typo in an example code in the reference manual of WebKitWebInspector.

https://webkitgtk.org/reference/webkit2gtk/stable/WebKitWebInspector.html
https://trac.webkit.org/browser/webkit/trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWebInspector.cpp?rev=218332#L53

  - webkit_web_load_uri (WEBKIT_WEB_VIEW(my_webview), "http://www.gnome.org");
  + webkit_web_view_load_uri (WEBKIT_WEB_VIEW(my_webview), "http://www.gnome.org");

"view" is missing in the function name.
Comment 1 Takuro Ashie 2017-07-23 19:39:28 PDT
Created attachment 316252 [details]
Patch
Comment 2 Build Bot 2017-07-23 19:41:53 PDT
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See http://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API
Comment 3 Michael Catanzaro 2017-07-23 19:42:24 PDT
Comment on attachment 316252 [details]
Patch

Thank you for submitting this fix! I'm impressed you noticed.
Comment 4 WebKit Commit Bot 2017-07-23 20:20:32 PDT
Comment on attachment 316252 [details]
Patch

Clearing flags on attachment: 316252

Committed r219793: <http://trac.webkit.org/changeset/219793>
Comment 5 WebKit Commit Bot 2017-07-23 20:20:34 PDT
All reviewed patches have been landed.  Closing bug.