diff options
author | Benjamin Otte <otte@redhat.com> | 2020-07-24 15:54:49 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2020-07-25 00:47:36 +0200 |
commit | d7266b25ba5f2f21a5bd19d0fb88aca530e4d265 (patch) | |
tree | 8dc515efd6e0c0b0da1d7e02049f284edd6050ff /tests/testflowbox.c | |
parent | 46423e614d4fcf142d9578d4788dde664ea280f9 (diff) | |
download | gtk+-d7266b25ba5f2f21a5bd19d0fb88aca530e4d265.tar.gz |
Replace "gint" with "int"
Diffstat (limited to 'tests/testflowbox.c')
-rw-r--r-- | tests/testflowbox.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/tests/testflowbox.c b/tests/testflowbox.c index 6fef5fa2f4..727e16708b 100644 --- a/tests/testflowbox.c +++ b/tests/testflowbox.c @@ -34,13 +34,13 @@ enum { #define N_ITEMS 1000 static GtkFlowBox *the_flowbox = NULL; -static gint items_type = SIMPLE_ITEMS; +static int items_type = SIMPLE_ITEMS; static void populate_flowbox_simple (GtkFlowBox *flowbox) { GtkWidget *widget, *frame; - gint i; + int i; for (i = 0; i < N_ITEMS; i++) { @@ -62,7 +62,7 @@ static void populate_flowbox_focus (GtkFlowBox *flowbox) { GtkWidget *widget, *frame, *box; - gint i; + int i; gboolean sensitive; for (i = 0; i < 200; i++) @@ -110,7 +110,7 @@ static void populate_flowbox_buttons (GtkFlowBox *flowbox) { GtkWidget *widget; - gint i; + int i; for (i = 0; i < 50; i++) { @@ -125,7 +125,7 @@ static void populate_flowbox_wrappy (GtkFlowBox *flowbox) { GtkWidget *widget, *frame; - gint i; + int i; const gchar *strings[] = { "These are", "some wrappy label", "texts", "of various", "lengths.", @@ -156,7 +156,7 @@ static void populate_flowbox_images (GtkFlowBox *flowbox) { GtkWidget *widget, *image, *label; - gint i; + int i; for (i = 0; i < N_ITEMS; i++) { @@ -242,7 +242,7 @@ static void line_length_changed (GtkSpinButton *spin, GtkFlowBox *flowbox) { - gint length = gtk_spin_button_get_value_as_int (spin); + int length = gtk_spin_button_get_value_as_int (spin); gtk_flow_box_set_min_children_per_line (flowbox, length); } @@ -251,7 +251,7 @@ static void max_line_length_changed (GtkSpinButton *spin, GtkFlowBox *flowbox) { - gint length = gtk_spin_button_get_value_as_int (spin); + int length = gtk_spin_button_get_value_as_int (spin); gtk_flow_box_set_max_children_per_line (flowbox, length); } @@ -261,7 +261,7 @@ spacing_changed (GtkSpinButton *button, gpointer data) { GtkOrientation orientation = GPOINTER_TO_INT (data); - gint state = gtk_spin_button_get_value_as_int (button); + int state = gtk_spin_button_get_value_as_int (button); if (orientation == GTK_ORIENTATION_HORIZONTAL) gtk_flow_box_set_column_spacing (the_flowbox, state); @@ -319,7 +319,7 @@ on_selected_children_changed (GtkFlowBox *self) static gboolean filter_func (GtkFlowBoxChild *child, gpointer user_data) { - gint index; + int index; index = gtk_flow_box_child_get_index (child); @@ -338,7 +338,7 @@ filter_toggled (GtkToggleButton *button, gtk_flow_box_set_filter_func (flowbox, NULL, NULL, NULL); } -static gint +static int sort_func (GtkFlowBoxChild *a, GtkFlowBoxChild *b, gpointer data) |