From 6252ffa2f5708c65bba754f74cda708558d733a7 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Fri, 25 Aug 2000 04:05:42 +0000 Subject: Properly append to list 2000-08-24 JP Rosevear * gui/gncal-todo.c (ok_button): Properly append to list * gui/event-editor.c (dialog_to_comp_object): ditto * gui/e-day-view.c (e_day_view_on_new_appointment): The base times are not UTC * gui/e-week-view.c (e_week_view_on_new_appointment): ditto svn path=/trunk/; revision=5031 --- calendar/gui/gncal-todo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'calendar/gui/gncal-todo.c') diff --git a/calendar/gui/gncal-todo.c b/calendar/gui/gncal-todo.c index 899c953723..f81cc24740 100644 --- a/calendar/gui/gncal-todo.c +++ b/calendar/gui/gncal-todo.c @@ -101,7 +101,7 @@ ok_button (GtkWidget *widget, GnomeDialog *dialog) comment = GTK_TEXT(gtk_object_get_data (GTK_OBJECT(dialog), "comment")); t = gtk_editable_get_chars (entry, 0, -1); text->value = t; - g_slist_append (l, text); + l = g_slist_append (l, text); cal_component_set_comment_list (comp, l); cal_component_free_text_list (l); -- cgit v1.2.3