From 0274669179600ac77475eed9870d2eab52c2cf14 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sun, 12 Jul 2009 23:33:07 -0400 Subject: Fix excessive whitespace. --- calendar/gui/dialogs/cal-attachment-select-file.c | 1 - calendar/gui/dialogs/cal-prefs-dialog.c | 5 ----- calendar/gui/dialogs/comp-editor-util.c | 5 ----- calendar/gui/dialogs/comp-editor-util.h | 1 - calendar/gui/dialogs/comp-editor.c | 5 ----- calendar/gui/dialogs/comp-editor.h | 1 - calendar/gui/dialogs/e-delegate-dialog.c | 2 -- calendar/gui/dialogs/e-delegate-dialog.h | 2 -- calendar/gui/dialogs/e-send-options-utils.c | 1 - calendar/gui/dialogs/event-page.c | 9 --------- calendar/gui/dialogs/memo-page.c | 1 - calendar/gui/dialogs/recur-comp.c | 1 - calendar/gui/dialogs/recurrence-page.c | 1 - calendar/gui/dialogs/schedule-page.c | 1 - calendar/gui/dialogs/schedule-page.h | 1 - calendar/gui/dialogs/task-details-page.c | 2 -- calendar/gui/dialogs/task-editor.c | 1 - calendar/gui/dialogs/task-page.c | 4 ---- 18 files changed, 44 deletions(-) (limited to 'calendar/gui/dialogs') diff --git a/calendar/gui/dialogs/cal-attachment-select-file.c b/calendar/gui/dialogs/cal-attachment-select-file.c index b33753c42e..b303a763ce 100644 --- a/calendar/gui/dialogs/cal-attachment-select-file.c +++ b/calendar/gui/dialogs/cal-attachment-select-file.c @@ -25,7 +25,6 @@ * specific to the calendar component have been flagged by some comments * fwiw */ - #ifdef HAVE_CONFIG_H #include #endif diff --git a/calendar/gui/dialogs/cal-prefs-dialog.c b/calendar/gui/dialogs/cal-prefs-dialog.c index db3a5aef13..2c19acaadd 100644 --- a/calendar/gui/dialogs/cal-prefs-dialog.c +++ b/calendar/gui/dialogs/cal-prefs-dialog.c @@ -58,8 +58,6 @@ static GtkVBoxClass *parent_class = NULL; GtkWidget *cal_prefs_dialog_create_time_edit (void); - - static void calendar_prefs_dialog_finalize (GObject *obj) { @@ -572,7 +570,6 @@ setup_changes (CalendarPrefsDialog *prefs) g_signal_connect (G_OBJECT (prefs->notify_with_tray), "toggled", G_CALLBACK (notify_with_tray_toggled), prefs); g_signal_connect (G_OBJECT (prefs->alarm_list_widget), "selection_changed", G_CALLBACK (alarms_selection_changed), prefs); - g_signal_connect (G_OBJECT (prefs->template_url), "changed", G_CALLBACK (template_url_changed), prefs); } @@ -712,7 +709,6 @@ show_config (CalendarPrefsDialog *prefs) gtk_widget_set_sensitive (prefs->use_12_hour, sensitive); gtk_widget_set_sensitive (prefs->use_24_hour, sensitive); - /* Time Divisions. */ time_divisions = calendar_config_get_time_divisions (); e_dialog_combo_box_set (prefs->time_divisions, time_divisions, time_division_map); @@ -852,7 +848,6 @@ calendar_prefs_dialog_construct (CalendarPrefsDialog *prefs) prefs->tasks_hide_completed_interval = glade_xml_get_widget (gui, "tasks_hide_completed_interval"); prefs->tasks_hide_completed_units = glade_xml_get_widget (gui, "tasks_hide_completed_units"); - /* Alarms tab */ prefs->notify_with_tray = glade_xml_get_widget (gui, "notify_with_tray"); prefs->scrolled_window = glade_xml_get_widget (gui, "calendar-source-scrolled-window"); diff --git a/calendar/gui/dialogs/comp-editor-util.c b/calendar/gui/dialogs/comp-editor-util.c index e9661db372..e330a7f9d4 100644 --- a/calendar/gui/dialogs/comp-editor-util.c +++ b/calendar/gui/dialogs/comp-editor-util.c @@ -81,7 +81,6 @@ comp_editor_dates (CompEditorPageDates *dates, ECalComponent *comp) e_cal_component_get_completed (comp, &dates->complete); } - /* This frees the dates in the CompEditorPageDates struct. But it doesn't free * the struct (as that is usually static). */ @@ -109,7 +108,6 @@ comp_editor_free_dates (CompEditorPageDates *dates) e_cal_component_free_icaltimetype (dates->complete); } - /* dtstart is only passed in if tt is the dtend. */ static void write_label_piece (struct icaltimetype *tt, @@ -249,7 +247,6 @@ comp_editor_new_date_edit (gboolean show_date, gboolean show_time, return GTK_WIDGET (dedit); } - /* Returns the current time, for EDateEdit widgets and ECalendar items in the dialogs. FIXME: Should probably use the timezone from somewhere in the component @@ -278,8 +275,6 @@ comp_editor_get_current_time (GtkObject *object, gpointer data) return tmp_tm; } - - /** * comp_editor_strip_categories: * @categories: A string of category names entered by the user. diff --git a/calendar/gui/dialogs/comp-editor-util.h b/calendar/gui/dialogs/comp-editor-util.h index 3bf8921291..c2b5a052a3 100644 --- a/calendar/gui/dialogs/comp-editor-util.h +++ b/calendar/gui/dialogs/comp-editor-util.h @@ -38,7 +38,6 @@ GtkWidget *comp_editor_new_date_edit (gboolean show_date, gboolean show_time, struct tm comp_editor_get_current_time (GtkObject *object, gpointer data); - gchar *comp_editor_strip_categories (const gchar *categories); #endif diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c index ba43eaf98d..e620d54091 100644 --- a/calendar/gui/dialogs/comp-editor.c +++ b/calendar/gui/dialogs/comp-editor.c @@ -433,7 +433,6 @@ save_comp (CompEditor *editor) if (e_cal_component_has_recurrences (priv->comp) && priv->mod == CALOBJ_MOD_ALL) comp_util_sanitize_recurrence_master (priv->comp, priv->client); - if (priv->mod == CALOBJ_MOD_THIS) { e_cal_component_set_rdate_list (priv->comp, NULL); e_cal_component_set_rrule_list (priv->comp, NULL); @@ -1740,7 +1739,6 @@ comp_editor_show_help (CompEditor *editor) e_display_help (GTK_WINDOW (editor), class->help_section); } - /* Closes the dialog box and emits the appropriate signals */ static void close_dialog (CompEditor *editor) @@ -1948,7 +1946,6 @@ comp_editor_set_flags (CompEditor *editor, g_object_notify (G_OBJECT (editor), "flags"); } - CompEditorFlags comp_editor_get_flags (CompEditor *editor) { @@ -2541,7 +2538,6 @@ real_send_comp (CompEditor *editor, ECalComponentItipMethod method, gboolean str } - /** * comp_editor_edit_comp: * @editor: A component editor @@ -2678,7 +2674,6 @@ comp_editor_close (CompEditor *editor) return close; } - /* Utility function to get the mime-attachment list from the attachment * bar for sending the comp via itip. The list and its contents must * be freed by the caller. diff --git a/calendar/gui/dialogs/comp-editor.h b/calendar/gui/dialogs/comp-editor.h index ec1b991592..2106970386 100644 --- a/calendar/gui/dialogs/comp-editor.h +++ b/calendar/gui/dialogs/comp-editor.h @@ -134,7 +134,6 @@ gboolean comp_editor_send_comp (CompEditor *editor, GSList * comp_editor_get_mime_attach_list(CompEditor *editor); gboolean comp_editor_close (CompEditor *editor); - void comp_editor_sensitize_attachment_bar (CompEditor *editor, gboolean set); diff --git a/calendar/gui/dialogs/e-delegate-dialog.c b/calendar/gui/dialogs/e-delegate-dialog.c index 87fb164e6a..284076a7bc 100644 --- a/calendar/gui/dialogs/e-delegate-dialog.c +++ b/calendar/gui/dialogs/e-delegate-dialog.c @@ -114,7 +114,6 @@ e_delegate_dialog_finalize (GObject *object) (* G_OBJECT_CLASS (e_delegate_dialog_parent_class)->finalize) (object); } - EDelegateDialog * e_delegate_dialog_construct (EDelegateDialog *edd, const gchar *name, const gchar *address) { @@ -273,7 +272,6 @@ e_delegate_dialog_get_delegate (EDelegateDialog *edd) return g_strdup (priv->address); } - gchar * e_delegate_dialog_get_delegate_name (EDelegateDialog *edd) { diff --git a/calendar/gui/dialogs/e-delegate-dialog.h b/calendar/gui/dialogs/e-delegate-dialog.h index 6ff872e7e4..a70488a0ea 100644 --- a/calendar/gui/dialogs/e-delegate-dialog.h +++ b/calendar/gui/dialogs/e-delegate-dialog.h @@ -35,7 +35,6 @@ #define E_IS_DELEGATE_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), E_TYPE_DELEGATE_DIALOG)) #define E_IS_DELEGATE_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), E_TYPE_DELEGATE_DIALOG)) - typedef struct _EDelegateDialog EDelegateDialog; typedef struct _EDelegateDialogClass EDelegateDialogClass; typedef struct _EDelegateDialogPrivate EDelegateDialogPrivate; @@ -69,7 +68,6 @@ void e_delegate_dialog_set_delegate (EDelegateDialog *etd, GtkWidget* e_delegate_dialog_get_toplevel (EDelegateDialog *etd); - #endif /* __E_DELEGATE_DIALOG_H__ */ diff --git a/calendar/gui/dialogs/e-send-options-utils.c b/calendar/gui/dialogs/e-send-options-utils.c index 87f4584133..c4ed13f2cb 100644 --- a/calendar/gui/dialogs/e-send-options-utils.c +++ b/calendar/gui/dialogs/e-send-options-utils.c @@ -208,7 +208,6 @@ e_sendoptions_utils_fill_component (ESendOptionsDialog *sod, ECalComponent *comp icalproperty_set_x_name (prop, "X-EVOLUTION-OPTIONS-TRACKINFO"); icalcomponent_add_property (icalcomp, prop); - prop = icalproperty_new_x ((const gchar *) g_strdup_printf ("%d", sopts->opened)); icalproperty_set_x_name (prop, "X-EVOLUTION-OPTIONS-OPENED"); icalcomponent_add_property (icalcomp, prop); diff --git a/calendar/gui/dialogs/event-page.c b/calendar/gui/dialogs/event-page.c index f43dcc1d41..55989a4818 100644 --- a/calendar/gui/dialogs/event-page.c +++ b/calendar/gui/dialogs/event-page.c @@ -1269,7 +1269,6 @@ event_page_fill_component (CompEditorPage *page, ECalComponent *comp) e_cal_component_set_dtstart (comp, &start_date); e_cal_component_set_dtend (comp, &end_date); - /* Categories */ cat = e_dialog_editable_get (priv->categories); @@ -1453,7 +1452,6 @@ event_page_fill_component (CompEditorPage *page, ECalComponent *comp) return FALSE; } - if (flags & COMP_EDITOR_DELEGATE) { GSList *attendee_list, *l; gint i; @@ -1986,7 +1984,6 @@ list_view_event (EMeetingListView *list_view, GdkEvent *event, EventPage *epage) return FALSE; } - static gboolean list_key_press (EMeetingListView *list_view, GdkEventKey *event, EventPage *epage) { @@ -2251,7 +2248,6 @@ get_widgets (EventPage *epage) gtk_container_add (GTK_CONTAINER (sw), GTK_WIDGET (priv->list_view)); gtk_box_pack_start (GTK_BOX (priv->list_box), sw, TRUE, TRUE, 0); - /* Glade's visibility flag doesn't seem to work for custom widgets */ priv->start_time = GW ("start-time"); gtk_widget_show (priv->start_time); @@ -2298,7 +2294,6 @@ summary_changed_cb (GtkEditable *editable, g_free (summary); } - /* Note that this assumes that the start_tt and end_tt passed to it are the dates visible to the user. For DATE values, we have to add 1 day to the end_tt before emitting the signal. */ @@ -2339,7 +2334,6 @@ notify_dates_changed (EventPage *epage, struct icaltimetype *start_tt, &dates); } - static gboolean check_start_before_end (struct icaltimetype *start_tt, icaltimezone *start_zone, @@ -2377,7 +2371,6 @@ check_start_before_end (struct icaltimetype *start_tt, return FALSE; } - /* * This is called whenever the start or end dates or timezones is changed. * It makes sure that the start date < end date. It also emits the notification @@ -2455,7 +2448,6 @@ times_updated (EventPage *epage, gboolean adjust_end_time) } } - if (set_start_date) { g_signal_handlers_block_matched (priv->start_time, G_SIGNAL_MATCH_DATA, 0, 0, NULL, NULL, epage); e_date_edit_set_date (E_DATE_EDIT (priv->start_time), @@ -2836,7 +2828,6 @@ init_widgets (EventPage *epage) g_signal_connect((priv->summary), "changed", G_CALLBACK (summary_changed_cb), epage); - /* Description */ text_buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (priv->description)); diff --git a/calendar/gui/dialogs/memo-page.c b/calendar/gui/dialogs/memo-page.c index 0b76d783c9..f110c28564 100644 --- a/calendar/gui/dialogs/memo-page.c +++ b/calendar/gui/dialogs/memo-page.c @@ -389,7 +389,6 @@ get_recipients (ECalComponent *comp) return ""; } - static gboolean fill_comp_with_recipients (ENameSelector *name_selector, ECalComponent *comp) { diff --git a/calendar/gui/dialogs/recur-comp.c b/calendar/gui/dialogs/recur-comp.c index 1323755cb1..0d9197546b 100644 --- a/calendar/gui/dialogs/recur-comp.c +++ b/calendar/gui/dialogs/recur-comp.c @@ -68,7 +68,6 @@ recur_component_dialog (ECal *client, return FALSE; } - dialog = gtk_message_dialog_new (parent, 0, GTK_MESSAGE_QUESTION, GTK_BUTTONS_OK_CANCEL, "%s", str); g_free (str); gtk_window_set_resizable (GTK_WINDOW (dialog), TRUE); diff --git a/calendar/gui/dialogs/recurrence-page.c b/calendar/gui/dialogs/recurrence-page.c index 5fbf69df74..092a44db15 100644 --- a/calendar/gui/dialogs/recurrence-page.c +++ b/calendar/gui/dialogs/recurrence-page.c @@ -2387,7 +2387,6 @@ recurrence_page_new (CompEditor *editor) return rpage; } - GtkWidget *make_exdate_date_edit (void); GtkWidget * diff --git a/calendar/gui/dialogs/schedule-page.c b/calendar/gui/dialogs/schedule-page.c index c85ccbb4fe..712d2708b9 100644 --- a/calendar/gui/dialogs/schedule-page.c +++ b/calendar/gui/dialogs/schedule-page.c @@ -242,7 +242,6 @@ update_time (SchedulePage *spage, ECalComponentDateTime *start_date, ECalCompone } - /* Fills the widgets with default values */ static void clear_widgets (SchedulePage *spage) diff --git a/calendar/gui/dialogs/schedule-page.h b/calendar/gui/dialogs/schedule-page.h index 71eec02763..59b97c754f 100644 --- a/calendar/gui/dialogs/schedule-page.h +++ b/calendar/gui/dialogs/schedule-page.h @@ -64,7 +64,6 @@ struct _SchedulePageClass { CompEditorPageClass parent_class; }; - GType schedule_page_get_type (void); SchedulePage * schedule_page_construct (SchedulePage *mpage, EMeetingStore *ems); diff --git a/calendar/gui/dialogs/task-details-page.c b/calendar/gui/dialogs/task-details-page.c index 23f4b1f840..8c63c4dd02 100644 --- a/calendar/gui/dialogs/task-details-page.c +++ b/calendar/gui/dialogs/task-details-page.c @@ -168,7 +168,6 @@ task_details_page_focus_main_widget (CompEditorPage *page) gtk_widget_grab_focus (priv->status_combo); } - static TaskEditorPriority priority_value_to_index (gint priority_value) { @@ -492,7 +491,6 @@ get_widgets (TaskDetailsPage *tdpage) && priv->url); } - static void complete_date_changed (TaskDetailsPage *tdpage, time_t ctime, gboolean complete) { diff --git a/calendar/gui/dialogs/task-editor.c b/calendar/gui/dialogs/task-editor.c index 9377e0970b..1e3afc95eb 100644 --- a/calendar/gui/dialogs/task-editor.c +++ b/calendar/gui/dialogs/task-editor.c @@ -434,7 +434,6 @@ task_editor_edit_comp (CompEditor *editor, ECalComponent *comp) e_meeting_attendee_set_edit_level (ia, E_MEETING_ATTENDEE_EDIT_NONE); } - comp_editor_set_group_item (editor, TRUE); priv->assignment_shown = TRUE; } diff --git a/calendar/gui/dialogs/task-page.c b/calendar/gui/dialogs/task-page.c index faaba68317..f1b13df8f6 100644 --- a/calendar/gui/dialogs/task-page.c +++ b/calendar/gui/dialogs/task-page.c @@ -905,7 +905,6 @@ task_page_fill_component (CompEditorPage *page, ECalComponent *comp) return FALSE; } - if (flags & COMP_EDITOR_DELEGATE ) { GSList *attendee_list, *l; gint i; @@ -977,7 +976,6 @@ static void edit_clicked_cb (GtkButton *btn, TaskPage *tpage) gtk_tree_path_free (path); } - static gboolean existing_attendee (EMeetingAttendee *ia, ECalComponent *comp) { @@ -1296,7 +1294,6 @@ list_view_event (EMeetingListView *list_view, GdkEvent *event, TaskPage *page) { return FALSE; } - static gboolean list_key_press (EMeetingListView *list_view, GdkEventKey *event, TaskPage *page) { @@ -1694,7 +1691,6 @@ times_updated (TaskPage *tpage, gboolean adjust_end_time) set_start_date = TRUE; } - if (set_start_date) { g_signal_handlers_block_matched (priv->start_date, G_SIGNAL_MATCH_DATA, 0, 0, NULL, NULL, tpage); e_date_edit_set_date (E_DATE_EDIT (priv->start_date), start_tt.year, start_tt.month, start_tt.day); -- cgit v1.2.3