Apply code style fixes from review

This commit is contained in:
Emmanuele Bassi 2024-04-04 13:05:24 +00:00 committed by Michael Weghorn
parent 0b27f39c2b
commit 73084b761f
3 changed files with 12 additions and 12 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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