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 707112 - [PATCH] Replace webkit_dom_html_element_get_id usage
[PATCH] Replace webkit_dom_html_element_get_id usage
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: general
3.10.x (obsolete)
Other Linux
: Normal trivial
: ---
Assigned To: Evolution Shell Maintainers Team
Evolution QA team
evolution[cleanup]
: 707413 709142 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2013-08-30 06:55 UTC by Kerrick Staley
Modified: 2013-11-04 21:13 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch replacing webkit_dom_element_get_id (2.24 KB, patch)
2013-08-30 06:55 UTC, Kerrick Staley
none Details | Review
Patch replacing webkit_dom_element_{get,set}_id (2.56 KB, patch)
2013-08-30 07:01 UTC, Kerrick Staley
reviewed Details | Review

Description Kerrick Staley 2013-08-30 06:55:52 UTC
Created attachment 253583 [details] [review]
Patch replacing webkit_dom_element_get_id

Replace webkit_dom_html_element_get_id with webkit_dom_element_get_id; the former is deprecated. See https://trac.webkit.org/changeset/154788 .
Comment 1 Kerrick Staley 2013-08-30 07:01:32 UTC
Created attachment 253584 [details] [review]
Patch replacing webkit_dom_element_{get,set}_id
Comment 2 Kerrick Staley 2013-08-30 07:02:49 UTC
Derp. There was one instance of webkit_dom_html_element_set_id that needed to be replaced; patch updated.
Comment 3 Matthew Barnes 2013-08-30 11:59:57 UTC
Thanks for the patch.

Evolution currently requires only WebKitGTK 1.10 or later.

When was webkit_dom_element_{get,set}_id introduced?  I want to make sure we're only using APIs that are present in our minimum WebKitGTK requirement.

If necessary, we can raise our minimum requirement for Evolution 3.11.
Comment 4 Matthew Barnes 2013-08-31 13:49:21 UTC
Review of attachment 253584 [details] [review]:

I tried building Evolution with the patch applied against WebKitGTK versions 1.10.2 and 2.0.4 (latest stable release), and both attempts failed.

So it appears this API was very recently introduced and exceeds our present WebKitGTK requirement for building Evolution.  The patch itself looks correct but it's going to have to wait until our minimum WebKitGTK requirement catches up.

(Requires webkitgtk-3.0 >= 2.2)
Comment 5 Matthew Barnes 2013-09-03 18:18:14 UTC
*** Bug 707413 has been marked as a duplicate of this bug. ***
Comment 6 Matthew Barnes 2013-09-30 23:37:46 UTC
*** Bug 709142 has been marked as a duplicate of this bug. ***
Comment 7 Matthew Barnes 2013-11-04 21:13:49 UTC
Committed the patch with a conditional version check to silence the misguided runtime warnings from WebKit.

Fixed for Evolution 3.11.2 and 3.10.2:

https://git.gnome.org/browse/evolution/commit/?id=7063a2871097bd62140655a2a0cc8f4e300db4c4

https://git.gnome.org/browse/evolution/commit/?h=gnome-3-10&id=34e11a50a729a767c3830482d8d7dccc98af91d3