Bug 146109

Summary: [GTK] Fix SOUP related deprecated warnings in WebKitTestServer.cpp
Product: WebKit Reporter: Csaba Osztrogon√°c <ossy>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: mcatanzaro
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=219160
Bug Depends on: 146165    
Bug Blocks: 145121    

Description Csaba Osztrogon√°c 2015-06-18 06:11:49 PDT
../../Tools/TestWebKitAPI/gtk/WebKit2Gtk/WebKitTestServer.cpp:43:34: warning: 'soup_server_get_port' is deprecated [-Wdeprecated-declarations]
    soup_uri_set_port(m_baseURI, soup_server_get_port(m_soupServer.get()));
                                 ^
../DependenciesGTK/Root/include/libsoup-2.4/libsoup/soup-server.h:188:7: note: 'soup_server_get_port' has been explicitly marked deprecated here
guint soup_server_get_port (SoupServer *server);
      ^
../../Tools/TestWebKitAPI/gtk/WebKit2Gtk/WebKitTestServer.cpp:53:5: warning: 'soup_server_run_async' is deprecated [-Wdeprecated-declarations]
    soup_server_run_async(m_soupServer.get());
    ^
../DependenciesGTK/Root/include/libsoup-2.4/libsoup/soup-server.h:199:6: note: 'soup_server_run_async' has been explicitly marked deprecated here
void soup_server_run_async (SoupServer *server);
     ^
2 warnings generated.