Bug 217208 - [GTK] Fix MiniBrowser compilation warnings
Summary: [GTK] Fix MiniBrowser compilation warnings
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-10-02 03:32 PDT by Philippe Normand
Modified: 2020-10-02 04:46 PDT (History)
2 users (show)

See Also:


Attachments
Patch (5.52 KB, patch)
2020-10-02 03:39 PDT, Philippe Normand
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Normand 2020-10-02 03:32:08 PDT
[94/211] Building C object Tools/MiniBrowser/gtk/CMakeFiles/MiniBrowser.dir/main.c.o
../../Tools/MiniBrowser/gtk/main.c:653:9: warning: 'webkit_web_context_set_network_proxy_settings' is deprecated: Use 'webkit_website_data_manager_set_network_proxy_settings' instead [-Wdeprecated-declarations]
        webkit_web_context_set_network_proxy_settings(webContext, WEBKIT_NETWORK_PROXY_MODE_CUSTOM, webkitProxySettings);
        ^
DerivedSources/ForwardingHeaders/webkit2gtk/webkit2/WebKitWebContext.h:173:55: note: 'webkit_web_context_set_network_proxy_settings' has been explicitly marked deprecated here
__attribute__((visibility("default"))) __attribute__((__deprecated__("Use '" "webkit_website_data_manager_set_network_proxy_settings" "' instead"))) void
                                                      ^
../../Tools/MiniBrowser/gtk/main.c:698:9: warning: 'webkit_web_context_set_tls_errors_policy' is deprecated: Use 'webkit_website_data_manager_set_tls_errors_policy' instead [-Wdeprecated-declarations]
        webkit_web_context_set_tls_errors_policy(webContext, WEBKIT_TLS_ERRORS_POLICY_IGNORE);
        ^
DerivedSources/ForwardingHeaders/webkit2gtk/webkit2/WebKitWebContext.h:250:55: note: 'webkit_web_context_set_tls_errors_policy' has been explicitly marked deprecated here
__attribute__((visibility("default"))) __attribute__((__deprecated__("Use '" "webkit_website_data_manager_set_tls_errors_policy" "' instead"))) void
                                                      ^
2 warnings generated.
Comment 1 Philippe Normand 2020-10-02 03:39:50 PDT
Created attachment 410307 [details]
Patch
Comment 2 Carlos Garcia Campos 2020-10-02 03:48:23 PDT
Comment on attachment 410307 [details]
Patch

Thanks!
Comment 3 EWS 2020-10-02 04:45:02 PDT
Committed r267871: <https://trac.webkit.org/changeset/267871>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 410307 [details].
Comment 4 Radar WebKit Bug Importer 2020-10-02 04:46:18 PDT
<rdar://problem/69876513>