summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--applets/clock/clock-location-tile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/applets/clock/clock-location-tile.c b/applets/clock/clock-location-tile.c
index 11a14dcb..03717403 100644
--- a/applets/clock/clock-location-tile.c
+++ b/applets/clock/clock-location-tile.c
@@ -612,13 +612,13 @@ weather_info_setup_tooltip (WeatherInfo *info, ClockLocation *location, GtkToolt
else
line2 = g_strdup (temp);
g_free (temp);
+ g_free (apparent);
wind = weather_info_get_wind (info);
- if (strcmp (apparent, dgettext ("mate-applets-2.0", "Unknown")) != 0)
+ if (strcmp (wind, dgettext ("mate-applets-2.0", "Unknown")) != 0)
line3 = g_strdup_printf ("%s\n", wind);
else
line3 = g_strdup ("");
- g_free (apparent);
sys_timezone = getenv ("TZ");
setenv ("TZ", clock_location_get_timezone (location), 1);