summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gmail.com>2022-11-22 12:54:42 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2023-02-03 11:49:17 +0100
commite083bd7920986b03874b2dd205fb1fd968becec8 (patch)
tree3478bda96a0c9c747ff2005b4a06deb621db1403
parente915546b4421c1dbe24b0f02f7e38935902624ef (diff)
downloadgtk+-e083bd7920986b03874b2dd205fb1fd968becec8.tar.gz
Apply trivial review suggestions
-rw-r--r--gtk/gtkaccessible.c7
-rw-r--r--gtk/gtkstack.c2
2 files changed, 6 insertions, 3 deletions
diff --git a/gtk/gtkaccessible.c b/gtk/gtkaccessible.c
index 03d3afad6c..848d9a0bd9 100644
--- a/gtk/gtkaccessible.c
+++ b/gtk/gtkaccessible.c
@@ -832,8 +832,11 @@ gtk_accessible_bounds_changed (GtkAccessible *self)
* Since: 4.10
*/
gboolean
-gtk_accessible_get_bounds (GtkAccessible *self,
- int *x, int *y, int *width, int *height)
+gtk_accessible_get_bounds (GtkAccessible *self,
+ int *x,
+ int *y,
+ int *width,
+ int *height)
{
return GTK_ACCESSIBLE_GET_IFACE (self)->get_bounds (self, x, y, width, height);
}
diff --git a/gtk/gtkstack.c b/gtk/gtkstack.c
index d02cf8aca7..3e99575d29 100644
--- a/gtk/gtkstack.c
+++ b/gtk/gtkstack.c
@@ -290,7 +290,7 @@ gtk_stack_page_accessible_get_bounds (GtkAccessible *accessible,
if (page->widget != NULL)
return gtk_accessible_get_bounds (GTK_ACCESSIBLE (page->widget), x, y, width, height);
else
- return false;
+ return FALSE;
}
static void