diff options
author | Benjamin Otte <otte@redhat.com> | 2020-07-24 15:54:49 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2020-07-25 00:47:36 +0200 |
commit | d7266b25ba5f2f21a5bd19d0fb88aca530e4d265 (patch) | |
tree | 8dc515efd6e0c0b0da1d7e02049f284edd6050ff /gtk/a11y/gtkwindowaccessible.c | |
parent | 46423e614d4fcf142d9578d4788dde664ea280f9 (diff) | |
download | gtk+-d7266b25ba5f2f21a5bd19d0fb88aca530e4d265.tar.gz |
Replace "gint" with "int"
Diffstat (limited to 'gtk/a11y/gtkwindowaccessible.c')
-rw-r--r-- | gtk/a11y/gtkwindowaccessible.c | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/gtk/a11y/gtkwindowaccessible.c b/gtk/a11y/gtkwindowaccessible.c index 6485cf8e69..594ad6ca57 100644 --- a/gtk/a11y/gtkwindowaccessible.c +++ b/gtk/a11y/gtkwindowaccessible.c @@ -32,14 +32,14 @@ /* atkcomponent.h */ static void gtk_window_accessible_get_extents (AtkComponent *component, - gint *x, - gint *y, - gint *width, - gint *height, + int *x, + int *y, + int *width, + int *height, AtkCoordType coord_type); static void gtk_window_accessible_get_size (AtkComponent *component, - gint *width, - gint *height); + int *width, + int *height); static void atk_component_interface_init (AtkComponentIface *iface); static void atk_window_interface_init (AtkWindowIface *iface); @@ -94,12 +94,12 @@ gtk_window_accessible_get_name (AtkObject *accessible) return name; } -static gint +static int gtk_window_accessible_get_index_in_parent (AtkObject *accessible) { GtkWidget* widget; AtkObject* atk_obj; - gint index = -1; + int index = -1; widget = gtk_accessible_get_widget (GTK_ACCESSIBLE (accessible)); if (widget == NULL) @@ -121,7 +121,7 @@ gtk_window_accessible_get_index_in_parent (AtkObject *accessible) } else { - gint i, sibling_count; + int i, sibling_count; sibling_count = atk_object_get_n_accessible_children (atk_obj); for (i = 0; i < sibling_count && index == -1; ++i) @@ -204,12 +204,12 @@ gtk_window_accessible_ref_state_set (AtkObject *accessible) return state_set; } -static gint +static int gtk_window_accessible_get_n_children (AtkObject *object) { GtkWidget *window; GtkWidget *child; - gint count = 0; + int count = 0; window = gtk_accessible_get_widget (GTK_ACCESSIBLE (object)); for (child = gtk_widget_get_first_child (GTK_WIDGET (window)); @@ -222,7 +222,7 @@ gtk_window_accessible_get_n_children (AtkObject *object) static AtkObject * gtk_window_accessible_ref_child (AtkObject *object, - gint i) + int i) { GtkWidget *window, *child; int pos; @@ -270,10 +270,10 @@ gtk_window_accessible_init (GtkWindowAccessible *accessible) static void gtk_window_accessible_get_extents (AtkComponent *component, - gint *x, - gint *y, - gint *width, - gint *height, + int *x, + int *y, + int *width, + int *height, AtkCoordType coord_type) { GtkWidget *widget; @@ -301,8 +301,8 @@ gtk_window_accessible_get_extents (AtkComponent *component, static void gtk_window_accessible_get_size (AtkComponent *component, - gint *width, - gint *height) + int *width, + int *height) { GtkWidget *widget; GdkSurface *surface; |