From dc71847a5490abad09ef0b4955b5461d8e66ed3f Mon Sep 17 00:00:00 2001 From: Scott Balneaves Date: Mon, 3 Apr 2017 13:40:45 -0500 Subject: If location changes, abort any outstanding weather updates --- mateweather/mateweather-applet.c | 1 + 1 file changed, 1 insertion(+) (limited to 'mateweather') diff --git a/mateweather/mateweather-applet.c b/mateweather/mateweather-applet.c index cde3e62e..9870547e 100644 --- a/mateweather/mateweather-applet.c +++ b/mateweather/mateweather-applet.c @@ -546,6 +546,7 @@ void mateweather_update (MateWeatherApplet *gw_applet) weather_info_update(gw_applet->mateweather_info, &prefs, update_finish, gw_applet); } else { + weather_info_abort (gw_applet->mateweather_info); weather_info_free(gw_applet->mateweather_info); gw_applet->mateweather_info = weather_info_new(gw_applet->mateweather_pref.location, &prefs, -- cgit v1.2.1