[evolution-data-server] weather: Fix build break.



commit b8d362583e7d760eeeb6cf4c8d739523aa7f9e5a
Author: Matthew Barnes <mbarnes redhat com>
Date:   Sat Jan 5 01:02:37 2013 -0500

    weather: Fix build break.

 calendar/backends/weather/e-cal-backend-weather.c |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/calendar/backends/weather/e-cal-backend-weather.c b/calendar/backends/weather/e-cal-backend-weather.c
index 75a47a4..c9e2da8 100644
--- a/calendar/backends/weather/e-cal-backend-weather.c
+++ b/calendar/backends/weather/e-cal-backend-weather.c
@@ -499,7 +499,8 @@ e_cal_backend_weather_open (ECalBackendSync *backend,
 
 	if (!priv->store) {
 		e_cal_backend_cache_remove (cache_dir, "cache.xml");
-		priv->store = e_cal_backend_store_new (cache_dir);
+		priv->store = e_cal_backend_store_new (
+			cache_dir, E_TIMEZONE_CACHE (backend));
 
 		if (!priv->store) {
 			g_propagate_error (perror, EDC_ERROR_EX (OtherError, _("Could not create cache file")));
@@ -632,18 +633,14 @@ e_cal_backend_weather_add_timezone (ECalBackendSync *backend,
                                     GError **error)
 {
 	ECalBackendWeather *cbw;
-	ECalBackendWeatherPrivate *priv;
 	icalcomponent *tz_comp;
 	icaltimezone *zone;
-	const gchar *tzid;
 
 	cbw = (ECalBackendWeather *) backend;
 
 	e_return_data_cal_error_if_fail (E_IS_CAL_BACKEND_WEATHER (cbw), InvalidArg);
 	e_return_data_cal_error_if_fail (tzobj != NULL, InvalidArg);
 
-	priv = cbw->priv;
-
 	tz_comp = icalparser_parse_string (tzobj);
 	e_return_data_cal_error_if_fail (tz_comp != NULL, InvalidObject);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]