summaryrefslogtreecommitdiff
path: root/libmateweather/weather.h
diff options
context:
space:
mode:
authorScott Balneaves <[email protected]>2017-03-29 09:36:20 -0500
committerraveit65 <[email protected]>2017-07-23 14:34:45 +0200
commit97326e615fffaef92669dbe82c8955c2c2e2edda (patch)
tree7a304026d35b671b9214dae751dca9053840d513 /libmateweather/weather.h
parentf34162f526a49e4302f6b87c82825f316408c745 (diff)
downloadlibmateweather-97326e615fffaef92669dbe82c8955c2c2e2edda.tar.bz2
libmateweather-97326e615fffaef92669dbe82c8955c2c2e2edda.tar.xz
Start reducing weather spam by creating intial cut of weather_info_equal () function that will help apps determine if two WeatherInfo instances are 'the same' enough to not bother with a notification
Diffstat (limited to 'libmateweather/weather.h')
-rw-r--r--libmateweather/weather.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libmateweather/weather.h b/libmateweather/weather.h
index 204e095..d30b39f 100644
--- a/libmateweather/weather.h
+++ b/libmateweather/weather.h
@@ -176,6 +176,8 @@ gchar * weather_info_get_weather_summary(WeatherInfo *info);
const gchar * weather_info_get_icon_name (WeatherInfo *info);
gint weather_info_next_sun_event (WeatherInfo *info);
+gboolean weather_info_equal (WeatherInfo *info1, WeatherInfo *info2);
+
/* values retrieving functions */
enum _WeatherWindDirection {