From 9adbbaf76fe141c5a5051999f37a9ee9a005153e Mon Sep 17 00:00:00 2001 From: "Clifford R. Conover" Date: Thu, 11 Mar 1999 02:58:18 +0000 Subject: Add support for Due Date when adding a TODO item here. (column_resized): 1999-03-10 Clifford R. Conover * gncal-todo.c (simple_todo_editor): Add support for Due Date when adding a TODO item here. (column_resized): New function (init_column_sorting): New function. (todo_click_column): New function. (convert_time_t_to_char, make_overdue_todo_style): New functions. * gnome-cal.c (gnome_calendar_todo_properties_changed): New function used to update the TODO when the properties have been chagned for it. * prop.c (prop_apply_todo): Apply TODO properties. * gncal-day-panel.c (todo_list_properties_changed): Update the TODO display here. * eventedit.c (date_edit_new): Made public svn path=/trunk/; revision=757 --- calendar/gui/goto.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'calendar/gui/goto.c') diff --git a/calendar/gui/goto.c b/calendar/gui/goto.c index c371b74db4..20479889aa 100644 --- a/calendar/gui/goto.c +++ b/calendar/gui/goto.c @@ -254,12 +254,12 @@ goto_dialog (GnomeCalendar *gcal) GtkWidget *hbox; GtkWidget *w; GtkWidget *days; - struct tm tm; + struct tm *tm; gnome_calendar = gcal; current_index = -1; - tm = *localtime (&gnome_calendar->current_display); + tm = localtime (&gnome_calendar->current_display); goto_win = gnome_dialog_new (_("Go to date"), GNOME_STOCK_BUTTON_CANCEL, @@ -282,17 +282,17 @@ goto_dialog (GnomeCalendar *gcal) * month_item to be created. */ - days = create_days (tm.tm_mday, tm.tm_mon, tm.tm_year + 1900); + days = create_days (tm->tm_mday, tm->tm_mon, tm->tm_year + 1900); /* Year */ - w = create_year (tm.tm_year + 1900); + w = create_year (tm->tm_year + 1900); gtk_box_pack_start (GTK_BOX (vbox), w, FALSE, FALSE, 0); gtk_widget_show (w); /* Month */ - w = create_months (tm.tm_mon); + w = create_months (tm->tm_mon); gtk_box_pack_start (GTK_BOX (vbox), w, FALSE, FALSE, 0); gtk_widget_show (w); -- cgit