summaryrefslogtreecommitdiff
path: root/gtk/gtkboxlayout.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2020-07-24 15:54:49 +0200
committerBenjamin Otte <otte@redhat.com>2020-07-25 00:47:36 +0200
commitd7266b25ba5f2f21a5bd19d0fb88aca530e4d265 (patch)
tree8dc515efd6e0c0b0da1d7e02049f284edd6050ff /gtk/gtkboxlayout.c
parent46423e614d4fcf142d9578d4788dde664ea280f9 (diff)
downloadgtk+-d7266b25ba5f2f21a5bd19d0fb88aca530e4d265.tar.gz
Replace "gint" with "int"
Diffstat (limited to 'gtk/gtkboxlayout.c')
-rw-r--r--gtk/gtkboxlayout.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/gtk/gtkboxlayout.c b/gtk/gtkboxlayout.c
index 042d4084e1..cb9bf024a0 100644
--- a/gtk/gtkboxlayout.c
+++ b/gtk/gtkboxlayout.c
@@ -162,8 +162,8 @@ gtk_box_layout_get_property (GObject *gobject,
static void
count_expand_children (GtkWidget *widget,
GtkOrientation orientation,
- gint *visible_children,
- gint *expand_children)
+ int *visible_children,
+ int *expand_children)
{
GtkWidget *child;
@@ -183,13 +183,13 @@ count_expand_children (GtkWidget *widget,
}
}
-static gint
+static int
get_spacing (GtkBoxLayout *self,
GtkCssNode *node)
{
GtkCssStyle *style = gtk_css_node_get_style (node);
GtkCssValue *border_spacing;
- gint css_spacing;
+ int css_spacing;
border_spacing = style->size->border_spacing;
if (self->orientation == GTK_ORIENTATION_HORIZONTAL)
@@ -457,22 +457,22 @@ gtk_box_layout_allocate (GtkLayoutManager *layout_manager,
{
GtkBoxLayout *self = GTK_BOX_LAYOUT (layout_manager);
GtkWidget *child;
- gint nvis_children;
- gint nexpand_children;
+ int nvis_children;
+ int nexpand_children;
GtkTextDirection direction;
GtkAllocation child_allocation;
GtkRequestedSize *sizes;
- gint child_minimum_baseline, child_natural_baseline;
- gint minimum_above, natural_above;
- gint minimum_below, natural_below;
+ int child_minimum_baseline, child_natural_baseline;
+ int minimum_above, natural_above;
+ int minimum_below, natural_below;
gboolean have_baseline;
- gint extra_space;
- gint children_minimum_size = 0;
- gint size_given_to_child;
- gint n_extra_widgets = 0; /* Number of widgets that receive 1 extra px */
- gint x = 0, y = 0, i;
- gint child_size;
- gint spacing;
+ int extra_space;
+ int children_minimum_size = 0;
+ int size_given_to_child;
+ int n_extra_widgets = 0; /* Number of widgets that receive 1 extra px */
+ int x = 0, y = 0, i;
+ int child_size;
+ int spacing;
count_expand_children (widget, self->orientation, &nvis_children, &nexpand_children);