aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/gui/dialogs/cal-prefs-dialog.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 0d6d9db31d..ab80082d15 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,8 @@
+2002-10-07 JP Rosevear <jpr@ximian.com>
+
+ * gui/dialogs/cal-prefs-dialog.c (setup_changes): cast the correct
+ item
+
2002-10-07 Rodrigo Moya <rodrigo@ximian.com>
Fixes crash in #19159
diff --git a/calendar/gui/dialogs/cal-prefs-dialog.c b/calendar/gui/dialogs/cal-prefs-dialog.c
index 7c31b63621..acb686026a 100644
--- a/calendar/gui/dialogs/cal-prefs-dialog.c
+++ b/calendar/gui/dialogs/cal-prefs-dialog.c
@@ -225,7 +225,7 @@ setup_changes (DialogData *dialog_data,
connect_changed (dialog_data->tasks_hide_completed_checkbutton, "toggled", config_control);
connect_changed (dialog_data->tasks_hide_completed_spinbutton, "changed", config_control);
- connect_changed (GTK_OPTION_MENU (dialog_data->tasks_hide_completed_spinbutton)->menu, "selection_done", config_control);
+ connect_changed (GTK_OPTION_MENU (dialog_data->tasks_hide_completed_optionmenu)->menu, "selection_done", config_control);
connect_changed (dialog_data->confirm_delete, "toggled", config_control);
connect_changed (dialog_data->default_reminder, "toggled", config_control);