[Goodies-commits] r7712 - xfce4-weather-plugin/trunk/panel-plugin

Colin Leroy colin at xfce.org
Thu Jul 9 20:52:09 CEST 2009


Author: colin
Date: 2009-07-09 18:52:08 +0000 (Thu, 09 Jul 2009)
New Revision: 7712

Modified:
   xfce4-weather-plugin/trunk/panel-plugin/weather.c
Log:
Fix wrong usage of translate_bard()


Modified: xfce4-weather-plugin/trunk/panel-plugin/weather.c
===================================================================
--- xfce4-weather-plugin/trunk/panel-plugin/weather.c	2009-07-09 18:21:15 UTC (rev 7711)
+++ xfce4-weather-plugin/trunk/panel-plugin/weather.c	2009-07-09 18:52:08 UTC (rev 7712)
@@ -173,7 +173,7 @@
       value = translate_wind_speed (rawvalue, unit);
       break;
     case BAR_D:
-      value = translate_bard(rawvalue);
+      value = g_strdup(translate_bard(rawvalue));
       break;
     default:
       value = NULL;




More information about the Goodies-commits mailing list