diff options
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/ChangeLog | 6 | ||||
-rw-r--r-- | calendar/gui/dialogs/recurrence-page.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 1165cf4165..316fdcd986 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,9 @@ +2005-01-26 Rodrigo Moya <rodrigo@novell.com> + + * gui/dialogs/recurrence-page.c (sensitize_buttons): objects returned + from e_cal_get_objects_for_uid are ECalComponent's, so use + g_object_unref to free them, not icalcomponent_free. + 2005-01-26 Li Yuan <li.yuan@sun.com> * gui/dialogs/cal-prefs-dialog.glade: diff --git a/calendar/gui/dialogs/recurrence-page.c b/calendar/gui/dialogs/recurrence-page.c index 44b0e2c555..07e3b6164b 100644 --- a/calendar/gui/dialogs/recurrence-page.c +++ b/calendar/gui/dialogs/recurrence-page.c @@ -540,7 +540,7 @@ sensitize_buttons (RecurrencePage *rpage) if (list && g_list_length (list) > 1) read_only = TRUE; - g_list_foreach (list, (GFunc) icalcomponent_free, NULL); + g_list_foreach (list, (GFunc) g_object_unref, NULL); g_list_free (list); } } |