GNOME Bugzilla – Bug 707006
Cannot build against webkitgtk-2.1.90
Last modified: 2013-09-02 10:08:54 UTC
The most recent version of webkitgtk breaks API which gnome-online-accounts uses. webkit_dom_*_element_get_id() have been replaced with webkit_dom_element_get_id().
Created attachment 253420 [details] [review] Fix build against webkitgtk-2.1.90
Review of attachment 253420 [details] [review]: Please bump the webkitgtk-3.0 version in configure.ac as well.
Created attachment 253426 [details] [review] Fix build against webkitgtk-2.1.90, change required version in configure.ac Done.
Review of attachment 253426 [details] [review]: Looks good, but the commit message should not exceed 72 characters. I committed it after fixing that.
Just wondering: was this aligned as a long-term goal with the webkitgtk devs? As in fact, this was also identified as an error there and fixed in 2.1.90.1 (re-introduced the missed APIs)
The missing APIs are redirects to the functions now being called, as I understand it. In talking with a webkitgtk dev, I was led to believe the API calls should be changed moving forward, but that the redirects were added to prevent an API break.
(In reply to comment #5) > Just wondering: was this aligned as a long-term goal with the webkitgtk devs? > As in fact, this was also identified as an error there and fixed in 2.1.90.1 > (re-introduced the missed APIs) Yes, as Seán pointed out, the WebKitGTK+ developers think that the forward looking change would be to adopt the new APIs instead of sticking to the compatibility redirects.
Thanks.. all clarified then; Was just surprised to see two fixes popping up for the same issue. g-o-a with this patch built successfully.
Created attachment 253818 [details] [review] Fix the pointer types Fixes a few compiler warnings arising out of incorrect pointer types.