From 5cbe0ed71cd89c40f7a12464b90a4a934ee4e6bc Mon Sep 17 00:00:00 2001 From: Alan Fitton Date: Mon, 27 Aug 2012 12:29:02 +0100 Subject: reindent --- src/hig.c | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) (limited to 'src/hig.c') diff --git a/src/hig.c b/src/hig.c index f5c7e5f..32432fe 100644 --- a/src/hig.c +++ b/src/hig.c @@ -24,7 +24,7 @@ GtkWidget *hig_workarea_create(void) return t; } -void hig_workarea_add_section_divider(GtkWidget * t, guint *row) +void hig_workarea_add_section_divider(GtkWidget * t, guint * row) { GtkWidget *w = gtk_alignment_new(0.0f, 0.0f, 0.0f, 0.0f); @@ -34,7 +34,7 @@ void hig_workarea_add_section_divider(GtkWidget * t, guint *row) } void -hig_workarea_add_section_title_widget(GtkWidget * t, guint *row, +hig_workarea_add_section_title_widget(GtkWidget * t, guint * row, GtkWidget * w) { gtk_table_attach(GTK_TABLE(t), w, 0, 2, *row, *row + 1, ~0, 0, 0, 0); @@ -43,7 +43,7 @@ hig_workarea_add_section_title_widget(GtkWidget * t, guint *row, void hig_workarea_add_section_title(GtkWidget * t, - guint *row, const char *section_title) + guint * row, const char *section_title) { char buf[512]; GtkWidget *l; @@ -75,7 +75,8 @@ static GtkWidget *rowNew(GtkWidget * w) return h; } -void hig_workarea_add_wide_control(GtkWidget * t, guint *row, GtkWidget * w) +void hig_workarea_add_wide_control(GtkWidget * t, guint * row, + GtkWidget * w) { GtkWidget *r = rowNew(w); @@ -85,7 +86,8 @@ void hig_workarea_add_wide_control(GtkWidget * t, guint *row, GtkWidget * w) } void -hig_workarea_add_wide_tall_control(GtkWidget * t, guint *row, GtkWidget * w) +hig_workarea_add_wide_tall_control(GtkWidget * t, guint * row, + GtkWidget * w) { GtkWidget *r = rowNew(w); @@ -97,7 +99,7 @@ hig_workarea_add_wide_tall_control(GtkWidget * t, guint *row, GtkWidget * w) } GtkWidget *hig_workarea_add_wide_checkbutton(GtkWidget * t, - guint *row, + guint * row, const char *mnemonic_string, gboolean is_active) { @@ -126,7 +128,8 @@ GtkWidget *hig_workarea_add_label(GtkWidget * t, guint row, } static void -hig_workarea_add_tall_control(GtkWidget * t, guint row, GtkWidget * control) +hig_workarea_add_tall_control(GtkWidget * t, guint row, + GtkWidget * control) { if (GTK_IS_MISC(control)) gtk_misc_set_alignment(GTK_MISC(control), 0.0f, 0.5f); @@ -137,7 +140,8 @@ hig_workarea_add_tall_control(GtkWidget * t, guint row, GtkWidget * control) GTK_EXPAND | GTK_SHRINK | GTK_FILL, 0, 0); } -void hig_workarea_add_control(GtkWidget * t, guint row, GtkWidget * control) +void hig_workarea_add_control(GtkWidget * t, guint row, + GtkWidget * control) { if (GTK_IS_MISC(control)) gtk_misc_set_alignment(GTK_MISC(control), 0.0f, 0.5f); @@ -149,7 +153,7 @@ void hig_workarea_add_control(GtkWidget * t, guint row, GtkWidget * control) void hig_workarea_add_row_w(GtkWidget * t, - guint *row, + guint * row, GtkWidget * label, GtkWidget * control, GtkWidget * mnemonic) { @@ -162,7 +166,7 @@ hig_workarea_add_row_w(GtkWidget * t, } GtkWidget *hig_workarea_add_row(GtkWidget * t, - guint *row, + guint * row, const char *mnemonic_string, GtkWidget * control, GtkWidget * mnemonic) { @@ -173,7 +177,7 @@ GtkWidget *hig_workarea_add_row(GtkWidget * t, } GtkWidget *hig_workarea_add_tall_row(GtkWidget * table, - guint *row, + guint * row, const char *mnemonic_string, GtkWidget * control, GtkWidget * mnemonic) @@ -195,7 +199,7 @@ GtkWidget *hig_workarea_add_tall_row(GtkWidget * table, return l; } -void hig_workarea_finish(GtkWidget * t, guint *row) +void hig_workarea_finish(GtkWidget * t, guint * row) { gtk_table_resize(GTK_TABLE(t), *row, 2); } -- cgit v1.2.3