aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/gncal-todo.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/gncal-todo.c')
-rw-r--r--calendar/gui/gncal-todo.c2
1 files changed, 1 insertions, 1 deletions
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);