From 53f7cc4b933bd0c7253e636fb4154c080cb8bf1c Mon Sep 17 00:00:00 2001 From: Larry Ewing Date: Wed, 26 May 2004 06:22:15 +0000 Subject: i2004-05-25 Larry Ewing * gui/dialogs/calendar-setup.c: remove now unused functions. svn path=/trunk/; revision=26094 --- calendar/ChangeLog | 2 ++ calendar/gui/dialogs/calendar-setup.c | 40 ----------------------------------- 2 files changed, 2 insertions(+), 40 deletions(-) diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 4003753cff..6cc60405f9 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,5 +1,7 @@ 2004-05-25 Larry Ewing + * gui/dialogs/calendar-setup.c: remove now unused functions. + * gui/dialogs/calendar-setup.c (calendar_setup_edit_task_list): use the new dialog. (calendar_setup_edit_calendar): use the new dialog. diff --git a/calendar/gui/dialogs/calendar-setup.c b/calendar/gui/dialogs/calendar-setup.c index e50f1f7f47..5a64306134 100644 --- a/calendar/gui/dialogs/calendar-setup.c +++ b/calendar/gui/dialogs/calendar-setup.c @@ -616,34 +616,6 @@ editor_set_buttons_sensitive (SourceDialog *source_dialog, gboolean sensitive) gtk_widget_set_sensitive (glade_xml_get_widget (source_dialog->gui_xml, "ok-button"), sensitive); } -static void -general_page_modified (SourceDialog *source_dialog) -{ - if (source_dialog->druid) { - gnome_druid_set_buttons_sensitive (GNOME_DRUID (source_dialog->druid), - TRUE, /* Back */ - general_page_verify (source_dialog), /* Next */ - TRUE, /* Cancel */ - FALSE); /* Help */ - } else { - editor_set_buttons_sensitive (source_dialog, source_dialog_is_valid (source_dialog)); - } -} - -static void -remote_page_modified (SourceDialog *source_dialog) -{ - if (source_dialog->druid) { - gnome_druid_set_buttons_sensitive (GNOME_DRUID (source_dialog->druid), - TRUE, /* Back */ - remote_page_verify (source_dialog), /* Next */ - TRUE, /* Cancel */ - FALSE); /* Help */ - } else { - editor_set_buttons_sensitive (source_dialog, source_dialog_is_valid (source_dialog)); - } -} - static void source_group_changed_sensitive (SourceDialog *source_dialog) { @@ -771,12 +743,6 @@ edit_calendar_finish (SourceDialog *source_dialog) gtk_widget_destroy (source_dialog->window); } -static void -edit_calendar_cancel (SourceDialog *source_dialog) -{ - gtk_widget_destroy (source_dialog->window); -} - gboolean calendar_setup_edit_calendar (GtkWindow *parent, ESource *source) { @@ -977,12 +943,6 @@ edit_task_list_finish (SourceDialog *source_dialog) gtk_widget_destroy (source_dialog->window); } -static void -edit_task_list_cancel (SourceDialog *source_dialog) -{ - gtk_widget_destroy (source_dialog->window); -} - gboolean calendar_setup_edit_task_list (GtkWindow *parent, ESource *source) { -- cgit v1.2.3