After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 643109 - Update webkit.js example replacing deprecated 'open()' by 'load_uri()'
Update webkit.js example replacing deprecated 'open()' by 'load_uri()'
Status: RESOLVED FIXED
Product: gjs
Classification: Bindings
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gjs-maint
gjs-maint
Depends on:
Blocks:
 
 
Reported: 2011-02-23 18:38 UTC by Eduardo Lima Mitev
Modified: 2011-02-23 18:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch fixing it (815 bytes, application/octet-stream)
2011-02-23 18:38 UTC, Eduardo Lima Mitev
Details

Description Eduardo Lima Mitev 2011-02-23 18:38:23 UTC
Created attachment 181734 [details]
patch fixing it

Method webkit_web_view_open() has been deprecated in favor of webkit_web_view_load_uri() since version 1.1.1. 

examples/webkit.js:12 should be updated to 'view.load_uri("http://www.google.com/");'. Example is failing right now.
Comment 1 Eduardo Lima Mitev 2011-02-23 18:46:59 UTC
Merged.