summaryrefslogtreecommitdiff
path: root/gtk/gtkpadcontroller.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/gtkpadcontroller.c
parent46423e614d4fcf142d9578d4788dde664ea280f9 (diff)
downloadgtk+-d7266b25ba5f2f21a5bd19d0fb88aca530e4d265.tar.gz
Replace "gint" with "int"
Diffstat (limited to 'gtk/gtkpadcontroller.c')
-rw-r--r--gtk/gtkpadcontroller.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk/gtkpadcontroller.c b/gtk/gtkpadcontroller.c
index 357670adc9..8fe2b39108 100644
--- a/gtk/gtkpadcontroller.c
+++ b/gtk/gtkpadcontroller.c
@@ -114,8 +114,8 @@ G_DEFINE_TYPE (GtkPadController, gtk_pad_controller, GTK_TYPE_EVENT_CONTROLLER)
static const ActionEntryData *
gtk_pad_action_find_match (GtkPadController *controller,
GtkPadActionType type,
- gint index,
- gint mode)
+ int index,
+ int mode)
{
guint i;
@@ -167,7 +167,7 @@ gtk_pad_controller_handle_mode_switch (GtkPadController *controller,
if (GDK_IS_WAYLAND_DISPLAY (gdk_device_get_display (pad)))
{
const ActionEntryData *entry;
- gint elem, idx, n_features;
+ int elem, idx, n_features;
for (elem = GTK_PAD_ACTION_BUTTON; elem <= GTK_PAD_ACTION_STRIP; elem++)
{
@@ -421,7 +421,7 @@ gtk_pad_controller_new (GActionGroup *group,
NULL);
}
-static gint
+static int
entry_compare_func (gconstpointer a,
gconstpointer b)
{
@@ -474,9 +474,9 @@ gtk_pad_controller_add_entry (GtkPadController *controller,
void
gtk_pad_controller_set_action_entries (GtkPadController *controller,
const GtkPadActionEntry *entries,
- gint n_entries)
+ int n_entries)
{
- gint i;
+ int i;
g_return_if_fail (GTK_IS_PAD_CONTROLLER (controller));
g_return_if_fail (entries != NULL);