[libgweather/wip/hadess/fixes: 12/13] yrno: The XML API isn't the "New API" anymore
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgweather/wip/hadess/fixes: 12/13] yrno: The XML API isn't the "New API" anymore
- Date: Tue, 12 Jan 2021 09:53:05 +0000 (UTC)
commit 6ad87bfac315c3f7f19667bc2d37aa1d507580a5
Author: Bastien Nocera <hadess hadess net>
Date: Mon Jan 11 17:51:35 2021 +0100
yrno: The XML API isn't the "New API" anymore
It's very much the old legacy API now.
libgweather/weather-metno.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libgweather/weather-metno.c b/libgweather/weather-metno.c
index 17bc59a0..552e6b9d 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]