mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-09-20 05:50:11 +00:00
Apply code style fixes from review
This commit is contained in:
parent
0b27f39c2b
commit
73084b761f
@ -388,7 +388,7 @@ accessible_text_handle_method (GDBusConnection *connection,
|
||||
return;
|
||||
}
|
||||
|
||||
gtk_at_spi_translate_coordinates_from_accessible(accessible, coords_type, extents.origin.x, extents.origin.y, &x, &y);
|
||||
gtk_at_spi_translate_coordinates_from_accessible (accessible, coords_type, extents.origin.x, extents.origin.y, &x, &y);
|
||||
w = extents.size.width;
|
||||
h = extents.size.height;
|
||||
|
||||
@ -421,7 +421,7 @@ accessible_text_handle_method (GDBusConnection *connection,
|
||||
return;
|
||||
}
|
||||
|
||||
gtk_at_spi_translate_coordinates_from_accessible(accessible, coords_type, extents.origin.x, extents.origin.y, &x, &y);
|
||||
gtk_at_spi_translate_coordinates_from_accessible (accessible, coords_type, extents.origin.x, extents.origin.y, &x, &y);
|
||||
w = extents.size.width;
|
||||
h = extents.size.height;
|
||||
|
||||
|
@ -394,11 +394,11 @@ gtk_at_spi_translate_coordinates_to_accessible (GtkAccessible *accessible,
|
||||
return;
|
||||
}
|
||||
|
||||
// Transform coords to our parent, we will need that in any case
|
||||
/* Transform coords to our parent, we will need that in any case */
|
||||
*xo = xi - x;
|
||||
*yo = yi - y;
|
||||
|
||||
// If that's what the caller requested, we're done
|
||||
/* If that's what the caller requested, we're done */
|
||||
if (coordtype == ATSPI_COORD_TYPE_PARENT)
|
||||
return;
|
||||
|
||||
@ -448,11 +448,11 @@ gtk_at_spi_translate_coordinates_from_accessible (GtkAccessible *accessible,
|
||||
return;
|
||||
}
|
||||
|
||||
// Transform coords to our parent, we will need that in any case
|
||||
/* Transform coords to our parent, we will need that in any case */
|
||||
*xo = xi + x;
|
||||
*yo = yi + y;
|
||||
|
||||
// If that's what the caller requested, we're done
|
||||
/* If that's what the caller requested, we're done */
|
||||
if (coordtype == ATSPI_COORD_TYPE_PARENT)
|
||||
return;
|
||||
|
||||
|
@ -49,11 +49,11 @@ gtk_at_spi_translate_coordinates_to_accessible (GtkAccessible *accessible,
|
||||
|
||||
|
||||
void
|
||||
gtk_at_spi_translate_coordinates_from_accessible (GtkAccessible *accessible,
|
||||
AtspiCoordType coordtype,
|
||||
int xi,
|
||||
int yi,
|
||||
int *xo,
|
||||
int *yo);
|
||||
gtk_at_spi_translate_coordinates_from_accessible (GtkAccessible *accessible,
|
||||
AtspiCoordType coordtype,
|
||||
int xi,
|
||||
int yi,
|
||||
int *xo,
|
||||
int *yo);
|
||||
|
||||
G_END_DECLS
|
||||
|
Loading…
Reference in New Issue
Block a user