From 5563da141e1fd0474f1eeedb967209c55227abae Mon Sep 17 00:00:00 2001 From: Alan Fitton Date: Wed, 25 Jan 2012 11:59:32 +0000 Subject: 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). --- src/hig.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/hig.c') 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); -- cgit v1.2.3