Line
Link Here
|
0 |
-- panel-plugin/weather.c |
0 |
++ panel-plugin/weather.c |
Lines 638-644
update_handler(plugin_data *data)
Link Here
|
638 |
/* build url */ |
638 |
/* build url */ |
639 |
url = |
639 |
url = |
640 |
g_strdup_printf("http://api.yr.no/weatherapi" |
640 |
g_strdup_printf("http://api.yr.no/weatherapi" |
641 |
"/locationforecastlts/1.1/?lat=%s;lon=%s;msl=%d", |
641 |
"/locationforecastlts/1.2/?lat=%s;lon=%s;msl=%d", |
642 |
data->lat, data->lon, data->msl); |
642 |
data->lat, data->lon, data->msl); |
643 |
/* start receive thread */ |
643 |
/* start receive thread */ |