Corrected id. Fixes #326428
authorRajeev ramanathan <rajeevramanathan_2004@yahoo.co.in>
Thu, 9 Feb 2006 08:48:15 +0000 (08:48 +0000)
committerHarish Krishnaswamy <kharish@src.gnome.org>
Thu, 9 Feb 2006 08:48:15 +0000 (08:48 +0000)
2006-02-09  Rajeev ramanathan <rajeevramanathan_2004@yahoo.co.in>

* backends/contacts/e-cal-backend-contacts.c: (contact_record_free)
Corrected id. Fixes #326428

calendar/ChangeLog
calendar/backends/contacts/e-cal-backend-contacts.c

index a6759f4..25811aa 100644 (file)
@@ -1,3 +1,8 @@
+2006-02-09  Rajeev ramanathan <rajeevramanathan_2004@yahoo.co.in>
+
+       * backends/contacts/e-cal-backend-contacts.c: (contact_record_free)
+       Corrected id. Fixes #326428
+
 2006-02-09  Harish Krishnaswamy  <kharish@novell.com>
 
        * backends/caldav/e-cal-backend-caldav.c: (synchronize_cache):
index 1b279a5..393d068 100644 (file)
@@ -188,7 +188,7 @@ contact_record_free (ContactRecord *cr)
        /* Remove the anniversary event */
        if (cr->comp_anniversary) {
                comp_str = e_cal_component_get_as_string (cr->comp_anniversary);
-               id = e_cal_component_get_id (cr->comp_birthday);
+               id = e_cal_component_get_id (cr->comp_anniversary);
 
                e_cal_backend_notify_object_removed (E_CAL_BACKEND (cr->cbc), id, comp_str, NULL);