summaryrefslogtreecommitdiff
path: root/src/hig.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hig.c')
-rw-r--r--src/hig.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/hig.c b/src/hig.c
index af58bf3..f5c7e5f 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, int *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, int *row)
}
void
-hig_workarea_add_section_title_widget(GtkWidget * t, int *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, int *row,
void
hig_workarea_add_section_title(GtkWidget * t,
- int *row, const char *section_title)
+ guint *row, const char *section_title)
{
char buf[512];
GtkWidget *l;
@@ -75,7 +75,7 @@ static GtkWidget *rowNew(GtkWidget * w)
return h;
}
-void hig_workarea_add_wide_control(GtkWidget * t, int *row, GtkWidget * w)
+void hig_workarea_add_wide_control(GtkWidget * t, guint *row, GtkWidget * w)
{
GtkWidget *r = rowNew(w);
@@ -85,7 +85,7 @@ void hig_workarea_add_wide_control(GtkWidget * t, int *row, GtkWidget * w)
}
void
-hig_workarea_add_wide_tall_control(GtkWidget * t, int *row, GtkWidget * w)
+hig_workarea_add_wide_tall_control(GtkWidget * t, guint *row, GtkWidget * w)
{
GtkWidget *r = rowNew(w);
@@ -97,7 +97,7 @@ hig_workarea_add_wide_tall_control(GtkWidget * t, int *row, GtkWidget * w)
}
GtkWidget *hig_workarea_add_wide_checkbutton(GtkWidget * t,
- int *row,
+ guint *row,
const char *mnemonic_string,
gboolean is_active)
{
@@ -108,7 +108,7 @@ GtkWidget *hig_workarea_add_wide_checkbutton(GtkWidget * t,
return w;
}
-void hig_workarea_add_label_w(GtkWidget * t, int row, GtkWidget * l)
+void hig_workarea_add_label_w(GtkWidget * t, guint row, GtkWidget * l)
{
GtkWidget *w = rowNew(l);
@@ -116,7 +116,7 @@ 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,
+GtkWidget *hig_workarea_add_label(GtkWidget * t, guint row,
const char *mnemonic_string)
{
GtkWidget *l = gtk_label_new_with_mnemonic(mnemonic_string);
@@ -126,7 +126,7 @@ GtkWidget *hig_workarea_add_label(GtkWidget * t, int row,
}
static void
-hig_workarea_add_tall_control(GtkWidget * t, int 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 +137,7 @@ hig_workarea_add_tall_control(GtkWidget * t, int row, GtkWidget * control)
GTK_EXPAND | GTK_SHRINK | GTK_FILL, 0, 0);
}
-void hig_workarea_add_control(GtkWidget * t, int 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 +149,7 @@ void hig_workarea_add_control(GtkWidget * t, int row, GtkWidget * control)
void
hig_workarea_add_row_w(GtkWidget * t,
- int *row,
+ guint *row,
GtkWidget * label,
GtkWidget * control, GtkWidget * mnemonic)
{
@@ -162,7 +162,7 @@ hig_workarea_add_row_w(GtkWidget * t,
}
GtkWidget *hig_workarea_add_row(GtkWidget * t,
- int *row,
+ guint *row,
const char *mnemonic_string,
GtkWidget * control, GtkWidget * mnemonic)
{
@@ -173,7 +173,7 @@ GtkWidget *hig_workarea_add_row(GtkWidget * t,
}
GtkWidget *hig_workarea_add_tall_row(GtkWidget * table,
- int *row,
+ guint *row,
const char *mnemonic_string,
GtkWidget * control,
GtkWidget * mnemonic)
@@ -195,7 +195,7 @@ GtkWidget *hig_workarea_add_tall_row(GtkWidget * table,
return l;
}
-void hig_workarea_finish(GtkWidget * t, int *row)
+void hig_workarea_finish(GtkWidget * t, guint *row)
{
gtk_table_resize(GTK_TABLE(t), *row, 2);
}