Skip to content

Commit

Permalink
Fix soup_session_async_new () deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Balneaves authored and raveit65 committed Jul 23, 2017
1 parent fa14c56 commit 8bb34e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libmateweather/weather.c
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ _weather_info_fill (WeatherInfo *info,
info->cb_data = data;

if (!info->session) {
info->session = soup_session_async_new ();
info->session = soup_session_new ();
soup_session_add_feature_by_type (info->session, SOUP_TYPE_PROXY_RESOLVER_DEFAULT);
}

Expand Down

0 comments on commit 8bb34e9

Please sign in to comment.