summaryrefslogtreecommitdiff
path: root/src/hig.c
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2012-01-25 11:59:32 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2012-01-25 11:59:32 +0000
commit5563da141e1fd0474f1eeedb967209c55227abae (patch)
tree79edb6566aecd22050117f9728b17e40156fd093 /src/hig.c
parent4d57ef2197461c450aaaf79cdbb31b256ae0e81e (diff)
issue 175. make some (incomplete) changes as per the GTK+ best practices document - mainly using a pointer in the public class to access the private object (on a few important classes for now) for performance, and don't use C99 (C99 comments or mixed declarations/statements).
Diffstat (limited to 'src/hig.c')
-rw-r--r--src/hig.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/hig.c b/src/hig.c
index 453a53b..3308457 100644
--- a/src/hig.c
+++ b/src/hig.c
@@ -33,8 +33,8 @@ void hig_workarea_add_section_divider(GtkWidget * t, int *row)
}
void
-hig_workarea_add_section_title_widget(GtkWidget * t,
- int *row, GtkWidget * w)
+hig_workarea_add_section_title_widget(GtkWidget * t, int *row,
+ GtkWidget * w)
{
gtk_table_attach(GTK_TABLE(t), w, 0, 2, *row, *row + 1, ~0, 0, 0, 0);
++*row;
@@ -115,8 +115,8 @@ void hig_workarea_add_label_w(GtkWidget * t, int row, GtkWidget * l)
GTK_FILL, 0, 0);
}
-GtkWidget *hig_workarea_add_label(GtkWidget * t,
- int row, const char *mnemonic_string)
+GtkWidget *hig_workarea_add_label(GtkWidget * t, int row,
+ const char *mnemonic_string)
{
GtkWidget *l = gtk_label_new_with_mnemonic(mnemonic_string);