summaryrefslogtreecommitdiff
path: root/libgweather/weather-yahoo.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgweather/weather-yahoo.c')
-rw-r--r--libgweather/weather-yahoo.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/libgweather/weather-yahoo.c b/libgweather/weather-yahoo.c
index 5bb864b..bd937b6 100644
--- a/libgweather/weather-yahoo.c
+++ b/libgweather/weather-yahoo.c
@@ -174,7 +174,7 @@ make_info_from_node (GWeatherInfo *master_info,
priv = info->priv;
val = xmlGetProp (node, XC("date"));
- priv->update = date_to_time_t (val);
+ priv->current_time = priv->update = date_to_time_t (val);
xmlFree (val);
val = xmlGetProp (node, XC("high"));
@@ -201,9 +201,6 @@ make_info_from_node (GWeatherInfo *master_info,
priv->valid = FALSE;
xmlFree (val);
- /* Calculate sun to get the right icon */
- calc_sun_time (info, info->priv->update);
-
return info;
}