diff options
author | Mathias Hasselmann <hasselmm@src.gnome.org> | 2007-12-28 09:36:40 +0000 |
---|---|---|
committer | Mathias Hasselmann <hasselmm@src.gnome.org> | 2007-12-28 09:36:40 +0000 |
commit | 2372a2cdd1894df3423e7ceb83fded6bb679a512 (patch) | |
tree | c098f9e4c5c427ce303351b6a6cd3f385dc0eb49 /tests | |
parent | fcf3e712923cd7cb9e9b19c43b3759af8d7da74f (diff) | |
download | gtk+-2372a2cdd1894df3423e7ceb83fded6bb679a512.tar.gz |
Apply trivial code-style changes from attachement 101101. (#339540)
* tests/testcalendar.c: Some updates to current GTK+ code-style.
svn path=/trunk/; revision=19265
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testcalendar.c | 35 |
1 files changed, 21 insertions, 14 deletions
diff --git a/tests/testcalendar.c b/tests/testcalendar.c index 7ac0f8c0c0..0c751fbdd0 100644 --- a/tests/testcalendar.c +++ b/tests/testcalendar.c @@ -58,7 +58,8 @@ enum * GtkCalendar */ -void calendar_date_to_string (CalendarData *data, +static void +calendar_date_to_string (CalendarData *data, char *buffer, gint buff_len) { @@ -128,7 +129,8 @@ calendar_set_signal_strings (char *sig_str, gtk_label_set_text (GTK_LABEL (data->last_sig), sig_str); } -void calendar_month_changed (GtkWidget *widget, +static void +calendar_month_changed (GtkWidget *widget, CalendarData *data) { char buffer[256] = "month_changed: "; @@ -137,7 +139,8 @@ void calendar_month_changed (GtkWidget *widget, calendar_set_signal_strings (buffer, data); } -void calendar_day_selected (GtkWidget *widget, +static void +calendar_day_selected (GtkWidget *widget, CalendarData *data) { char buffer[256] = "day_selected: "; @@ -148,7 +151,8 @@ void calendar_day_selected (GtkWidget *widget, calendar_update_details (data); } -void calendar_day_selected_double_click (GtkWidget *widget, +static void +calendar_day_selected_double_click (GtkWidget *widget, CalendarData *data) { char buffer[256] = "day_selected_double_click: "; @@ -167,7 +171,8 @@ void calendar_day_selected_double_click (GtkWidget *widget, } } -void calendar_prev_month (GtkWidget *widget, +static void +calendar_prev_month (GtkWidget *widget, CalendarData *data) { char buffer[256] = "prev_month: "; @@ -176,8 +181,9 @@ void calendar_prev_month (GtkWidget *widget, calendar_set_signal_strings (buffer, data); } -void calendar_next_month( GtkWidget *widget, - CalendarData *data ) +static void +calendar_next_month (GtkWidget *widget, + CalendarData *data) { char buffer[256] = "next_month: "; @@ -185,8 +191,9 @@ void calendar_next_month( GtkWidget *widget, calendar_set_signal_strings (buffer, data); } -void calendar_prev_year( GtkWidget *widget, - CalendarData *data ) +static void +calendar_prev_year (GtkWidget *widget, + CalendarData *data) { char buffer[256] = "prev_year: "; @@ -194,8 +201,9 @@ void calendar_prev_year( GtkWidget *widget, calendar_set_signal_strings (buffer, data); } -void calendar_next_year( GtkWidget *widget, - CalendarData *data ) +static void +calendar_next_year (GtkWidget *widget, + CalendarData *data) { char buffer[256] = "next_year: "; @@ -231,9 +239,8 @@ calendar_toggle_flag (GtkWidget *toggle, } -void -calendar_select_font (GtkWidget *button, - CalendarData *calendar) +void calendar_select_font (GtkWidget *button, + CalendarData *calendar) { const char *font = NULL; GtkRcStyle *style; |