aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@novell.com>2005-01-26 20:38:05 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2005-01-26 20:38:05 +0800
commite48ba0acde95b962a5c228c6b545892daaea851e (patch)
treedcc2371263f821a3a8cfa68de3cab8eea1abdada /calendar/gui
parent28c0c65a3041c1fb25249874809cf6e707bb9348 (diff)
downloadgsoc2013-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/gui')
-rw-r--r--calendar/gui/dialogs/recurrence-page.c2
1 files changed, 1 insertions, 1 deletions
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);
}
}