0b915804785f8735c6f47dd17133f61b0e49b0e4
[gentoo.git] /
1 http://bugs.gentoo.org/524850
2
3 From 70024ad992bfd3845d885469e5eccfad76269465 Mon Sep 17 00:00:00 2001
4 From: Harald Judt <h.judt@gmx.at>
5 Date: Tue, 3 Jun 2014 19:59:05 +0200
6 Subject: [PATCH] Switch to met.no locationforecastLTS-1.2 API (bug #10916).
7
8 (cherry picked from commit 7df303bc5fa649299e18efeb5d4b801614030488)
9 ---
10  panel-plugin/weather.c | 2 +-
11  1 file changed, 1 insertion(+), 1 deletion(-)
12
13 diff --git a/panel-plugin/weather.c b/panel-plugin/weather.c
14 index 4a2e3c3..e5036ae 100644
15 --- a/panel-plugin/weather.c
16 +++ b/panel-plugin/weather.c
17 @@ -638,7 +638,7 @@ update_handler(plugin_data *data)
18          /* build url */
19          url =
20              g_strdup_printf("http://api.yr.no/weatherapi"
21 -                            "/locationforecastlts/1.1/?lat=%s;lon=%s;msl=%d",
22 +                            "/locationforecastlts/1.2/?lat=%s;lon=%s;msl=%d",
23                              data->lat, data->lon, data->msl);
24  
25          /* start receive thread */
26 -- 
27 2.1.2
28