summaryrefslogtreecommitdiff
path: root/testsuite/gtk/entry.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gtk/entry.c')
-rw-r--r--testsuite/gtk/entry.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/testsuite/gtk/entry.c b/testsuite/gtk/entry.c
index 814e3c0809..1f03c4f3d3 100644
--- a/testsuite/gtk/entry.c
+++ b/testsuite/gtk/entry.c
@@ -17,17 +17,17 @@
#include <gtk/gtk.h>
-static gint serial = 0;
+static int serial = 0;
typedef struct {
- gint serial;
- gint count;
- gint start;
- gint end;
+ int serial;
+ int count;
+ int start;
+ int end;
gchar *text;
gchar *new_text;
- gint position;
- gint length;
+ int position;
+ int length;
} EntryData;
static void
@@ -49,8 +49,8 @@ notify (GtkEditable *editable, GParamSpec *pspec, EntryData *data)
static void
insert_text (GtkEditable *editable,
const gchar *new_text,
- gint new_text_length,
- gint *position,
+ int new_text_length,
+ int *position,
EntryData *data)
{
data->serial = serial++;
@@ -71,8 +71,8 @@ insert_text (GtkEditable *editable,
static void
delete_text (GtkEditable *editable,
- gint start_pos,
- gint end_pos,
+ int start_pos,
+ int end_pos,
EntryData *data)
{
data->serial = serial++;
@@ -111,7 +111,7 @@ static void
test_insert (void)
{
GtkWidget *entry;
- gint pos;
+ int pos;
EntryData data1;
EntryData data2;
EntryData data3;
@@ -213,7 +213,7 @@ static void
test_delete (void)
{
GtkWidget *entry;
- gint pos;
+ int pos;
EntryData data1;
EntryData data2;
EntryData data3;