diff options
author | Bastien Nocera <hadess@hadess.net> | 2021-01-11 17:51:35 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2021-01-12 10:48:42 +0100 |
commit | 6ad87bfac315c3f7f19667bc2d37aa1d507580a5 (patch) | |
tree | d8b98b5f1b389cb23f20b1e2b411bc21cccfd0cd /libgweather | |
parent | f3a9ba0e6ddff4b32e3938eaebd470e779aaea68 (diff) | |
download | libgweather-6ad87bfac315c3f7f19667bc2d37aa1d507580a5.tar.gz |
yrno: The XML API isn't the "New API" anymore
It's very much the old legacy API now.
Diffstat (limited to 'libgweather')
-rw-r--r-- | libgweather/weather-metno.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgweather/weather-metno.c b/libgweather/weather-metno.c index 17bc59a..552e6b9 100644 --- a/libgweather/weather-metno.c +++ b/libgweather/weather-metno.c @@ -338,7 +338,7 @@ parse_forecast_xml_new (GWeatherInfo *original_info, to_time = date_to_time_t (val, original_info->location.tz_hint); xmlFree (val); - /* New API has forecast in a list of "parent" elements + /* The legacy XML API has forecast in a list of "parent" elements with details (indicated by from==to) and "children" elements that hold only precipitation and symbol. For our purpose, the parent element is enough, except that we actually |