diff options
author | Rodrigo Moya <rodrigo@novell.com> | 2005-01-26 20:38:05 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2005-01-26 20:38:05 +0800 |
commit | e48ba0acde95b962a5c228c6b545892daaea851e (patch) | |
tree | dcc2371263f821a3a8cfa68de3cab8eea1abdada /calendar | |
parent | 28c0c65a3041c1fb25249874809cf6e707bb9348 (diff) | |
download | gsoc2013-evolution-e48ba0acde95b962a5c228c6b545892daaea851e.tar gsoc2013-evolution-e48ba0acde95b962a5c228c6b545892daaea851e.tar.gz gsoc2013-evolution-e48ba0acde95b962a5c228c6b545892daaea851e.tar.bz2 gsoc2013-evolution-e48ba0acde95b962a5c228c6b545892daaea851e.tar.lz gsoc2013-evolution-e48ba0acde95b962a5c228c6b545892daaea851e.tar.xz gsoc2013-evolution-e48ba0acde95b962a5c228c6b545892daaea851e.tar.zst gsoc2013-evolution-e48ba0acde95b962a5c228c6b545892daaea851e.zip |
objects returned from e_cal_get_objects_for_uid are ECalComponent's, so
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.
svn path=/trunk/; revision=28562
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); } } |