summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukáš Tyrychtr <lukastyrychtr@gmail.com>2022-09-16 13:44:34 +0200
committerEmmanuele Bassi <ebassi@gnome.org>2023-02-03 11:49:17 +0100
commit6f8cab0e9d67c917ed0b4355b2a6896238241d21 (patch)
tree7dc773032291cb1da1ac4d5d8b8c66bf0bbf82bd
parent6eb9161906d595da3216b67592a4c468d44e39fa (diff)
downloadgtk+-6f8cab0e9d67c917ed0b4355b2a6896238241d21.tar.gz
Style fix
-rw-r--r--gtk/gtkstack.c2
-rw-r--r--gtk/gtkwidget.c10
2 files changed, 9 insertions, 3 deletions
diff --git a/gtk/gtkstack.c b/gtk/gtkstack.c
index e191d1252d..2d2de8990d 100644
--- a/gtk/gtkstack.c
+++ b/gtk/gtkstack.c
@@ -773,7 +773,7 @@ gtk_stack_accessible_get_child_at_index (GtkAccessible *accessible, guint index)
}
static void
-gtk_stack_accessible_init(GtkAccessibleInterface *iface)
+gtk_stack_accessible_init (GtkAccessibleInterface *iface)
{
iface->get_child_at_index = gtk_stack_accessible_get_child_at_index;
}
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 4f0c94dc62..115bef5826 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -8472,7 +8472,8 @@ gtk_widget_accessible_get_parent (GtkAccessible *self)
}
static GtkAccessible *
-gtk_widget_accessible_get_child_at_index (GtkAccessible *self, guint index)
+gtk_widget_accessible_get_child_at_index (GtkAccessible *self,
+ guint index)
{
guint idx = 0;
GtkWidget *child;
@@ -8488,7 +8489,12 @@ gtk_widget_accessible_get_child_at_index (GtkAccessible *self, guint index)
}
static gboolean
-gtk_widget_accessible_get_bounds (GtkAccessible *self, int *x, int *y, int *width, int *height) {
+gtk_widget_accessible_get_bounds (GtkAccessible *self,
+ int *x,
+ int *y,
+ int *width,
+ int *height)
+{
GtkWidget *widget;
GtkWidget *parent;
double translated_x, translated_y;