Skip to content

Commit

Permalink
Remove obsolete param that prevent compilation with GNOME 3.28 ilgarm…
Browse files Browse the repository at this point in the history
  • Loading branch information
fossfreedom committed Mar 14, 2018
1 parent 210d3c3 commit 1408ed0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Providers/LibGWeather.vala
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ public class LibGWeather {

public static void get_current_weather_info (float latitude, float longitute, string city_name, WeatherUpdated callback) {
GWeather.Location loc = new GWeather.Location.detached(city_name, null, latitude, longitute);
GWeather.Info gweather_info = new GWeather.Info(loc, GWeather.ForecastType.STATE);
GWeather.Info gweather_info = new GWeather.Info(loc);
gweather_info.updated.connect(()=>{
WeatherInfo info = get_weather_info_from_gweather_info(gweather_info);
long update_time;
Expand Down

0 comments on commit 1408ed0

Please sign in to comment.