summaryrefslogtreecommitdiff
blob: 0b915804785f8735c6f47dd17133f61b0e49b0e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
http://bugs.gentoo.org/524850

From 70024ad992bfd3845d885469e5eccfad76269465 Mon Sep 17 00:00:00 2001
From: Harald Judt <h.judt@gmx.at>
Date: Tue, 3 Jun 2014 19:59:05 +0200
Subject: [PATCH] Switch to met.no locationforecastLTS-1.2 API (bug #10916).

(cherry picked from commit 7df303bc5fa649299e18efeb5d4b801614030488)
---
 panel-plugin/weather.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/panel-plugin/weather.c b/panel-plugin/weather.c
index 4a2e3c3..e5036ae 100644
--- a/panel-plugin/weather.c
+++ b/panel-plugin/weather.c
@@ -638,7 +638,7 @@ update_handler(plugin_data *data)
         /* build url */
         url =
             g_strdup_printf("http://api.yr.no/weatherapi"
-                            "/locationforecastlts/1.1/?lat=%s;lon=%s;msl=%d",
+                            "/locationforecastlts/1.2/?lat=%s;lon=%s;msl=%d",
                             data->lat, data->lon, data->msl);
 
         /* start receive thread */
-- 
2.1.2