From cf4dbf9ee3790b9cf5e146594fa851757cd89881 Mon Sep 17 00:00:00 2001 From: Damon Chaplin Date: Tue, 30 Oct 2001 01:37:52 +0000 Subject: ref the ECalendarItem and check if it gets destroyed, to try to avoid a 2001-10-29 Damon Chaplin * e-calendar-item.c (e_calendar_item_signal_emission_idle_cb): ref the ECalendarItem and check if it gets destroyed, to try to avoid a free memory write. * e-dateedit.c (e_date_edit_set_time_of_day): allow setting the time to empty by passing hour as -1. svn path=/trunk/; revision=14394 --- widgets/misc/e-dateedit.h | 1 + 1 file changed, 1 insertion(+) (limited to 'widgets/misc/e-dateedit.h') diff --git a/widgets/misc/e-dateedit.h b/widgets/misc/e-dateedit.h index 68529fa563..49ea443235 100644 --- a/widgets/misc/e-dateedit.h +++ b/widgets/misc/e-dateedit.h @@ -114,6 +114,7 @@ void e_date_edit_set_date (EDateEdit *dedit, gboolean e_date_edit_get_time_of_day (EDateEdit *dedit, gint *hour, gint *minute); +/* Set the time. Pass -1 as hour to set to empty. */ void e_date_edit_set_time_of_day (EDateEdit *dedit, gint hour, gint minute); -- cgit v1.2.3