summaryrefslogtreecommitdiff
path: root/libgweather/gweather-private.h
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2017-12-01 14:12:03 +0100
committerBastien Nocera <hadess@hadess.net>2017-12-01 18:05:30 +0100
commitdfc874428dcbede29f0c5d2d508f8741224dcd3c (patch)
tree1c2f57ad5f350a52530486c4acb6fa888d75a2c3 /libgweather/gweather-private.h
parent29c682e34d1d2b60578bdb0fcefa55300706b50f (diff)
downloadlibgweather-dfc874428dcbede29f0c5d2d508f8741224dcd3c.tar.gz
Remove Yahoo! Weather support
The RSS feed URL was moved from: https://weather.yahooapis.com/forecastrss to: https://weather-ydn-yql.media.yahoo.com/forecastrss as per https://developer.yahoo.com/weather/documentation.html But this new location requires use of OAuth to link the API to the application. Given that we relied on the URL to be freely accessible, and that we have so few locations with a Yahoo "Where On Earth" ID set, we might as well remove the code to avoid failing to fetch the weather for those locations. https://bugzilla.gnome.org/show_bug.cgi?id=791084
Diffstat (limited to 'libgweather/gweather-private.h')
-rw-r--r--libgweather/gweather-private.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/libgweather/gweather-private.h b/libgweather/gweather-private.h
index e2244bb..ddf0a41 100644
--- a/libgweather/gweather-private.h
+++ b/libgweather/gweather-private.h
@@ -38,7 +38,7 @@ struct _GWeatherLocation {
GWeatherLocation *parent, **children;
GWeatherLocationLevel level;
char *country_code, *tz_hint;
- char *station_code, *forecast_zone, *yahoo_id, *radar;
+ char *station_code, *forecast_zone, *radar;
double latitude, longitude;
gboolean latlon_valid;
GWeatherTimezone **zones;
@@ -55,7 +55,6 @@ typedef struct {
gchar *name;
gchar *code;
gchar *zone;
- gchar *yahoo_id;
gchar *radar;
gboolean latlon_valid;
gdouble latitude;
@@ -181,7 +180,6 @@ struct _GWeatherInfoPrivate {
void metar_start_open (GWeatherInfo *info);
gboolean iwin_start_open (GWeatherInfo *info);
void wx_start_open (GWeatherInfo *info);
-gboolean yahoo_start_open (GWeatherInfo *info);
gboolean yrno_start_open (GWeatherInfo *info);
gboolean owm_start_open (GWeatherInfo *info);