a11y: Remove an overzealous optimisation
authorMatthias Clasen <mclasen@redhat.com>
Mon, 19 Jun 2023 10:45:28 +0000 (06:45 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 19 Jun 2023 11:22:32 +0000 (07:22 -0400)
commit32550fd6fc7bdb9f41575bf1cfaef336846e84bb
tree9434ba20456e65abebb0fbb1f53192012fe83e34
parent12fb249dc6564d2973a33ba9dc5472938ec78f22
a11y: Remove an overzealous optimisation

The result of calling update_property needs
to be that the property is marked as set
afterward, even if the value we pass happens
to match the default value.

After this change, scrollbars have value-now
show up as zero in the accessiblity page of
the inspector, even when that matches the lower
bound.

Test included.

Fixes: #5886
gtk/gtkaccessibleattributeset.c
testsuite/a11y/meson.build
testsuite/a11y/value.c [new file with mode: 0644]