summaryrefslogtreecommitdiff
path: root/gtk/gtkcheckbutton.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-07-27 18:07:26 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-07-27 21:18:09 -0400
commit4a9b4ad7203bbee2563604379e8e6f81a5ae9500 (patch)
tree1b07efabd446a95673b42aec6f8598ff51751cc3 /gtk/gtkcheckbutton.c
parent36689d188443934671bdc80b9b57394c7fe7c9ac (diff)
downloadgtk+-4a9b4ad7203bbee2563604379e8e6f81a5ae9500.tar.gz
checkbutton: Initialize accessible state
The checked state of checkbuttons should be FALSE initially, not UNDEFINED.
Diffstat (limited to 'gtk/gtkcheckbutton.c')
-rw-r--r--gtk/gtkcheckbutton.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkcheckbutton.c b/gtk/gtkcheckbutton.c
index 802355d9d4..6c5dcdc375 100644
--- a/gtk/gtkcheckbutton.c
+++ b/gtk/gtkcheckbutton.c
@@ -293,6 +293,7 @@ gtk_check_button_init (GtkCheckButton *check_button)
priv->draw_indicator = TRUE;
draw_indicator_changed (check_button);
gtk_check_button_update_node_state (GTK_WIDGET (check_button));
+ update_accessible_state (check_button);
}
/**