aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/pcs
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@helixcode.com>2001-01-03 06:47:28 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2001-01-03 06:47:28 +0800
commit02ee28bf7749fd4f6cc764d1765405edf2e9293e (patch)
treee75d163d068de3e74f86cf7ca4bdca2de845e434 /calendar/pcs
parent70844a59a3e7acb053f679f241fbb70d4ce79209 (diff)
downloadgsoc2013-evolution-02ee28bf7749fd4f6cc764d1765405edf2e9293e.tar.gz
gsoc2013-evolution-02ee28bf7749fd4f6cc764d1765405edf2e9293e.tar.zst
gsoc2013-evolution-02ee28bf7749fd4f6cc764d1765405edf2e9293e.zip
If the component has no alarms, do not try to queue them.
2001-01-02 Federico Mena Quintero <federico@helixcode.com> * gui/alarm-notify.c (add_component_alarms): If the component has no alarms, do not try to queue them. (remove_client_alarms): New function to remove all the queued alarms for a calendar client. (alarm_notify_remove_client): Remove the client's alarms. svn path=/trunk/; revision=7218
Diffstat (limited to 'calendar/pcs')
-rw-r--r--calendar/pcs/cal-backend-file.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/calendar/pcs/cal-backend-file.c b/calendar/pcs/cal-backend-file.c
index 168067f41e..10d0a35746 100644
--- a/calendar/pcs/cal-backend-file.c
+++ b/calendar/pcs/cal-backend-file.c
@@ -1293,9 +1293,8 @@ cal_backend_file_get_alarms_for_object (CalBackend *backend, const char *uid,
if (alarms) {
fill_alarm_instances_seq (&corba_alarms->alarms, alarms->alarms);
cal_component_alarms_free (alarms);
- } else {
+ } else
fill_alarm_instances_seq (&corba_alarms->alarms, NULL);
- }
return corba_alarms;
}