[evolution-patches] fix for the bug #312851 [calendar]
- From: chen <pchenthill novell com>
- To: patches <evolution-patches gnome org>
- Subject: [evolution-patches] fix for the bug #312851 [calendar]
- Date: Thu, 09 Feb 2006 18:34:09 +0530
Hi,
Have attached the fix for the bug. Removed the unnecessary assert.
thanks, Chenthill.
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.2984
diff -u -p -u -p -r1.2984 ChangeLog
--- ChangeLog 9 Feb 2006 11:42:40 -0000 1.2984
+++ ChangeLog 9 Feb 2006 12:46:22 -0000
@@ -1,3 +1,10 @@
+2006-02-09 Chenthill Palanisamy <pchenthill novell com>
+
+ Fixes #312851
+ * gui/alarm-notify/alarm.c: (alarm_remove): Removed
+ the assert, as its not needed. There can be other alarms.
+
+
2006-02-09 Harish Krishnaswamy <kharish novell com>
* gui/e-cal-model.c: (e_cal_view_objects_added_cb):
Index: gui/alarm-notify/alarm.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/alarm-notify/alarm.c,v
retrieving revision 1.35
diff -u -p -u -p -r1.35 alarm.c
--- gui/alarm-notify/alarm.c 8 Feb 2006 13:06:23 -0000 1.35
+++ gui/alarm-notify/alarm.c 9 Feb 2006 12:46:22 -0000
@@ -248,17 +248,14 @@ alarm_remove (gpointer alarm)
alarms = g_list_delete_link (alarms, l);
}
- /* Reset the timeout */
-
- g_assert (timeout_id != 0);
-
+ /* Reset the timeout if there are no alarms. There can be an alarm scheduled
+ for trigger */
if (!alarms) {
g_source_remove (timeout_id);
timeout_id = 0;
}
/* Notify about destructiono of the alarm */
-
if (ar->destroy_notify_fn)
(* ar->destroy_notify_fn) (notify_id, ar->data);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]