[Xfce4-commits] <xfce4-weather-plugin:master> Fix some more time_t/struct tm variable names.
Harald Judt
noreply at xfce.org
Fri Jul 13 16:50:21 CEST 2012
Updating branch refs/heads/master
to ad629d85b47f5815e1bfe1cbfcce3713ac67c579 (commit)
from b5d407d72cc470723035a9f66baa0a368ae917cf (commit)
commit ad629d85b47f5815e1bfe1cbfcce3713ac67c579
Author: Harald Judt <h.judt at gmx.at>
Date: Thu Jul 12 10:54:11 2012 +0200
Fix some more time_t/struct tm variable names.
Left-over from b1eeec784bf1bd903e5164ddbb9f783065dcb2f6.
panel-plugin/weather-summary.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/panel-plugin/weather-summary.c b/panel-plugin/weather-summary.c
index aacd638..094a149 100644
--- a/panel-plugin/weather-summary.c
+++ b/panel-plugin/weather-summary.c
@@ -410,7 +410,7 @@ make_forecast (xfceweather_data *data)
gchar *dayname, *wind_speed, *value, *rawvalue;
xml_time *fcdata;
time_t now_t = time(NULL), fcday_t;
- struct tm tm_fcday;
+ struct tm fcday_tm;
table = gtk_table_new(data->forecast_days + 1, 5, FALSE);
gtk_table_set_row_spacings(GTK_TABLE(table), 0);
@@ -440,8 +440,8 @@ make_forecast (xfceweather_data *data)
for (i = 0; i < data->forecast_days; i++) {
/* Forecast day headers */
- tm_fcday = *localtime(&now_t);
- fcday_t = time_calc_day(tm_fcday, i);
+ fcday_tm = *localtime(&now_t);
+ fcday_t = time_calc_day(fcday_tm, i);
weekday = localtime(&fcday_t)->tm_wday;
if (i == 0)
dayname = _("Today");
More information about the Xfce4-commits
mailing list