diff options
author | Alan Fitton <ajf@eth0.org.uk> | 2012-08-27 12:29:02 +0100 |
---|---|---|
committer | Alan Fitton <ajf@eth0.org.uk> | 2012-08-27 12:29:02 +0100 |
commit | 5cbe0ed71cd89c40f7a12464b90a4a934ee4e6bc (patch) | |
tree | 48d90a05bbfb5c6892d612c27a39595a130cc4f7 /src/hig.c | |
parent | a24407ea83d00b4f9f0c4f491c58e9c751088968 (diff) |
reindent
Diffstat (limited to 'src/hig.c')
-rw-r--r-- | src/hig.c | 28 |
1 files changed, 16 insertions, 12 deletions
@@ -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); } |