summaryrefslogtreecommitdiff
path: root/gtk/gtkfontchooserwidget.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/gtkfontchooserwidget.c
parent46423e614d4fcf142d9578d4788dde664ea280f9 (diff)
downloadgtk+-d7266b25ba5f2f21a5bd19d0fb88aca530e4d265.tar.gz
Replace "gint" with "int"
Diffstat (limited to 'gtk/gtkfontchooserwidget.c')
-rw-r--r--gtk/gtkfontchooserwidget.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk/gtkfontchooserwidget.c b/gtk/gtkfontchooserwidget.c
index 42101f29d3..69f0771660 100644
--- a/gtk/gtkfontchooserwidget.c
+++ b/gtk/gtkfontchooserwidget.c
@@ -326,8 +326,8 @@ gtk_font_chooser_widget_update_marks (GtkFontChooserWidget *self)
{
GtkAdjustment *adj, *spin_adj;
const int *sizes;
- gint *font_sizes;
- gint i, n_sizes;
+ int *font_sizes;
+ int i, n_sizes;
gdouble value, spin_value;
gpointer item;
@@ -356,7 +356,7 @@ gtk_font_chooser_widget_update_marks (GtkFontChooserWidget *self)
if (n_sizes < 2)
{
- static const gint fallback_sizes[] = {
+ static const int fallback_sizes[] = {
6, 8, 9, 10, 11, 12, 13, 14, 16, 20, 24, 36, 48, 72
};
@@ -955,7 +955,7 @@ gtk_font_chooser_widget_get_family (GtkFontChooser *chooser)
return pango_font_face_get_family (item);
}
-static gint
+static int
gtk_font_chooser_widget_get_size (GtkFontChooser *chooser)
{
GtkFontChooserWidget *fontchooser = GTK_FONT_CHOOSER_WIDGET (chooser);
@@ -1223,7 +1223,7 @@ find_language_and_script (GtkFontChooserWidget *fontchooser,
hb_tag_t *lang_tag,
hb_tag_t *script_tag)
{
- gint i, j, k;
+ int i, j, k;
hb_tag_t scripts[80];
unsigned int n_scripts;
unsigned int count;