From f5fbf29c4ed8c0f35d212e361f8f487d7b5f4b6d Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Mon, 7 Oct 2002 20:30:02 +0000 Subject: cast the correct item 2002-10-07 JP Rosevear * gui/dialogs/cal-prefs-dialog.c (setup_changes): cast the correct item svn path=/trunk/; revision=18345 --- calendar/ChangeLog | 5 +++++ calendar/gui/dialogs/cal-prefs-dialog.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 + + * gui/dialogs/cal-prefs-dialog.c (setup_changes): cast the correct + item + 2002-10-07 Rodrigo Moya 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); -- cgit