summaryrefslogtreecommitdiff
path: root/calendar/backends/weather
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2007-03-26 21:01:03 +0000
committerMatthew Barnes <mbarnes@src.gnome.org>2007-03-26 21:01:03 +0000
commit8a9e1a709d17783f79ab46f147f5aac565f06034 (patch)
tree1d003dec10605e28b5ce8dc3fbf4603110f65113 /calendar/backends/weather
parentecc13cce81190dd2be134ececc133d8eae157a2c (diff)
downloadevolution-data-server-8a9e1a709d17783f79ab46f147f5aac565f06034.tar.gz
Don't mix declarations and code (#405495). Patch from Jens Granseuer.
2007-03-26 Matthew Barnes <mbarnes@redhat.com> * camel/providers/pop3/camel-pop3-folder.c: * camel/providers/groupwise/camel-groupwise-folder.c: * camel/providers/groupwise/camel-groupwise-utils.c: * camel/providers/imap/camel-imap-utils.c: Don't mix declarations and code (#405495). Patch from Jens Granseuer. svn path=/trunk/; revision=7667
Diffstat (limited to 'calendar/backends/weather')
-rw-r--r--calendar/backends/weather/e-cal-backend-weather.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/calendar/backends/weather/e-cal-backend-weather.c b/calendar/backends/weather/e-cal-backend-weather.c
index 8a8a23020..2977bde6a 100644
--- a/calendar/backends/weather/e-cal-backend-weather.c
+++ b/calendar/backends/weather/e-cal-backend-weather.c
@@ -146,8 +146,10 @@ finished_retrieval_cb (GList *forecasts, ECalBackendWeather *cbw)
/* update cache */
l = e_cal_backend_cache_get_components (priv->cache);
for (; l != NULL; l = g_list_next (l)) {
+ ECalComponentId *id;
+
icomp = e_cal_component_get_icalcomponent (E_CAL_COMPONENT (l->data));
- ECalComponentId *id = e_cal_component_get_id (E_CAL_COMPONENT (l->data));
+ id = e_cal_component_get_id (E_CAL_COMPONENT (l->data));
e_cal_backend_notify_object_removed (E_CAL_BACKEND (cbw),
id,