From fcbbdfbd18e15b4ee8322a0217cf03a689a5e033 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Tue, 16 Aug 2011 11:25:56 -0400 Subject: Coding style and whitespace cleanup. --- calendar/gui/dialogs/goto-dialog.c | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'calendar/gui/dialogs/goto-dialog.c') diff --git a/calendar/gui/dialogs/goto-dialog.c b/calendar/gui/dialogs/goto-dialog.c index 7b8fffa430..4a77c87554 100644 --- a/calendar/gui/dialogs/goto-dialog.c +++ b/calendar/gui/dialogs/goto-dialog.c @@ -59,7 +59,8 @@ static GoToDialog *dlg = NULL; /* Callback used when the year adjustment is changed */ static void -year_changed (GtkAdjustment *adj, gpointer data) +year_changed (GtkAdjustment *adj, + gpointer data) { GtkSpinButton *spin_button; GoToDialog *dlg = data; @@ -73,7 +74,8 @@ year_changed (GtkAdjustment *adj, gpointer data) /* Callback used when a month button is toggled */ static void -month_changed (GtkToggleButton *toggle, gpointer data) +month_changed (GtkToggleButton *toggle, + gpointer data) { GtkComboBox *combo_box; GoToDialog *dlg = data; @@ -86,7 +88,8 @@ month_changed (GtkToggleButton *toggle, gpointer data) } static void -ecal_date_range_changed (ECalendarItem *calitem, gpointer user_data) +ecal_date_range_changed (ECalendarItem *calitem, + gpointer user_data) { GoToDialog *dlg = user_data; ECalModel *model; @@ -101,7 +104,8 @@ ecal_date_range_changed (ECalendarItem *calitem, gpointer user_data) /* Event handler for day groups in the month item. A button press makes * the calendar jump to the selected day and destroys the Go-to dialog box. */ static void -ecal_event (ECalendarItem *calitem, gpointer user_data) +ecal_event (ECalendarItem *calitem, + gpointer user_data) { GoToDialog *dlg = user_data; GDate start_date, end_date; @@ -127,7 +131,8 @@ ecal_event (ECalendarItem *calitem, gpointer user_data) /* Returns the current time, for the ECalendarItem. */ static struct tm -get_current_time (ECalendarItem *calitem, gpointer data) +get_current_time (ECalendarItem *calitem, + gpointer data) { icaltimezone *zone; struct tm tmp_tm = { 0 }; @@ -224,7 +229,8 @@ goto_dialog_init_widgets (GoToDialog *dlg) /* Creates a "goto date" dialog and runs it */ void -goto_dialog (GtkWindow *parent, GnomeCalendar *gcal) +goto_dialog (GtkWindow *parent, + GnomeCalendar *gcal) { ECalModel *model; time_t start_time; -- cgit v1.2.3