summaryrefslogtreecommitdiff
path: root/mateweather/mateweather-applet.c
diff options
context:
space:
mode:
Diffstat (limited to 'mateweather/mateweather-applet.c')
-rw-r--r--mateweather/mateweather-applet.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/mateweather/mateweather-applet.c b/mateweather/mateweather-applet.c
index 118a801b..59768635 100644
--- a/mateweather/mateweather-applet.c
+++ b/mateweather/mateweather-applet.c
@@ -458,8 +458,7 @@ update_finish (WeatherInfo *info, gpointer data)
place_widgets(gw_applet);
#ifdef HAVE_LIBNOTIFY
- if (gw_applet->mateweather_pref.show_notifications &&
- !weather_info_equal(gw_applet->mateweather_previnfo, gw_applet->mateweather_info))
+ if (gw_applet->mateweather_pref.show_notifications)
{
NotifyNotification *n;
@@ -499,9 +498,6 @@ update_finish (WeatherInfo *info, gpointer data)
g_free (detail);
}
}
-
- weather_info_free (gw_applet->mateweather_previnfo);
- gw_applet->mateweather_previnfo = weather_info_clone (gw_applet->mateweather_info);
#endif
}
else
@@ -558,5 +554,4 @@ void mateweather_update (MateWeatherApplet *gw_applet)
&prefs,
update_finish, gw_applet);
}
-
}