a11y: Simplify GtkAccessible implementation for editables
authorLukáš Tyrychtr <lukastyrychtr@gmail.com>
Mon, 16 Jan 2023 10:39:41 +0000 (11:39 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Fri, 3 Feb 2023 15:08:06 +0000 (16:08 +0100)
commit11d235d16578e13d9ddd33d78b9c46e88dcad7b7
tree730df39d1616b90feecfa55f52c64eed6fecaf56
parentb710df6f45047a5a48345b51d5951975143a9681
a11y: Simplify GtkAccessible implementation for editables

This commit implements the idea brought up in #5032, and provides a
simple function for GtkEditable implementations using a delegate object.
The accessible state is proxied from the outher GtkEditable to the
delegate.
gtk/gtkeditable.c
gtk/gtkeditable.h
gtk/gtkentry.c
gtk/gtkpasswordentry.c
gtk/gtksearchentry.c
gtk/gtkspinbutton.c