From 578db9297338c6f7554fc3f99ae47f8b84262da5 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 3 Jun 2021 17:40:49 -0400 Subject: [PATCH] Cosmetics: Eradicate gint Remove a handful of errant uses of gint. --- gsk/gl/gskglrenderopsprivate.h | 2 +- testsuite/gtk/accessor-apis.c | 4 ++-- testsuite/gtk/label.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gsk/gl/gskglrenderopsprivate.h b/gsk/gl/gskglrenderopsprivate.h index b23060014b..551a1afc05 100644 --- a/gsk/gl/gskglrenderopsprivate.h +++ b/gsk/gl/gskglrenderopsprivate.h @@ -82,7 +82,7 @@ typedef struct struct { float width; float height; - gint uniform_data_len; + int uniform_data_len; guchar uniform_data[32]; } gl_shader; }; diff --git a/testsuite/gtk/accessor-apis.c b/testsuite/gtk/accessor-apis.c index 7d10391b41..aae3c17821 100644 --- a/testsuite/gtk/accessor-apis.c +++ b/testsuite/gtk/accessor-apis.c @@ -93,7 +93,7 @@ type_name_mangle (const char *name, gboolean split_first_cap) { GString *symbol_name = g_string_new (""); - gint i; + int i; for (i = 0; name[i] != '\0'; i++) { @@ -300,7 +300,7 @@ main (int argc, char **argv) { const GType *all_types; guint n_types = 0, i; - gint result; + int result; /* These must be set before before gtk_test_init */ g_setenv ("GIO_USE_VFS", "local", TRUE); diff --git a/testsuite/gtk/label.c b/testsuite/gtk/label.c index 11f1eebf23..c075e15139 100644 --- a/testsuite/gtk/label.c +++ b/testsuite/gtk/label.c @@ -89,7 +89,7 @@ print_attr_list (PangoAttrList *attrs, GString *string) iter = pango_attr_list_get_iterator (attrs); do { - gint start, end; + int start, end; GSList *list, *l; pango_attr_iterator_range (iter, &start, &end);