Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deprecated webkit functions #1287

Open
rich-coe opened this issue Aug 13, 2023 · 2 comments
Open

deprecated webkit functions #1287

rich-coe opened this issue Aug 13, 2023 · 2 comments

Comments

@rich-coe
Copy link
Contributor

I'm getting these warnings when building with the current webkit libwebkit2gtk-4_1-0 (2.40.4)
I'll try to fix these when I can, unless someone else gets it done first.

liferea_browser.c:413:9: warning: ‘webkit_web_view_run_javascript_finish’ is deprecated: Use 'webkit_web_view_evaluate_javascript_finish' instead [-Wdeprecated-declarations]
  413 |         js_result = webkit_web_view_run_javascript_finish (WEBKIT_WEB_VIEW (object), result, &error);
--
liferea_web_extension.c:93:9: warning: 'webkit_web_page_get_dom_document' is deprecated [-Wdeprecated-declarations]
   93 |         document = webkit_web_page_get_dom_document (page);
--
liferea_web_extension.c:94:9: warning: 'webkit_dom_document_get_default_view' is deprecated [-Wdeprecated-declarations]
   94 |         window = webkit_dom_document_get_default_view (document);
--
liferea_web_extension.c:110:9: warning: 'webkit_dom_dom_window_get_scroll_y' is deprecated [-Wdeprecated-declarations]
  110 |         old_scroll_y = webkit_dom_dom_window_get_scroll_y (window);
--
liferea_web_extension.c:111:9: warning: 'webkit_dom_dom_window_get_inner_height' is deprecated [-Wdeprecated-declarations]
  111 |         increment = webkit_dom_dom_window_get_inner_height (window);
--
liferea_web_extension.c:112:9: warning: 'webkit_dom_dom_window_scroll_by' is deprecated [-Wdeprecated-declarations]
  112 |         webkit_dom_dom_window_scroll_by (window, 0, increment);
--
liferea_web_extension.c:113:9: warning: 'webkit_dom_dom_window_get_scroll_y' is deprecated [-Wdeprecated-declarations]
  113 |         new_scroll_y = webkit_dom_dom_window_get_scroll_y (window);
--
webkit.c:463:9: warning: ‘webkit_web_view_run_javascript’ is deprecated: Use 'webkit_web_view_evaluate_javascript' instead [-Wdeprecated-declarations]
  463 |         webkit_web_view_run_javascript (WEBKIT_WEB_VIEW (widget),
--
liferea_web_view.c:607:41: warning: ‘webkit_web_view_run_javascript’ is deprecated: Use 'webkit_web_view_evaluate_javascript' instead [-Wdeprecated-declarations]
  607 |                                         webkit_web_view_run_javascript (view, "document.webkitExitFullscreen();", NULL, NULL, NULL);
@lwindolf
Copy link
Owner

I sadly do not have enough time to work on those.

@rich-coe
Copy link
Contributor Author

I'll submit a patch when I get done with the current libsoup issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants