diff options
author | Matthias Clasen <mclasen@redhat.com> | 2016-02-20 10:45:07 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2016-02-20 10:54:48 -0500 |
commit | 7ed1225296b047e2ee86fe6c85d5e739922036fc (patch) | |
tree | cdf02a5212de3ae9b22b8a561451b801c71114cb /gtk/gtkcheckbutton.c | |
parent | ebff86d6f69ba3af6c847eb254d230db9ddad347 (diff) | |
download | gtk+-7ed1225296b047e2ee86fe6c85d5e739922036fc.tar.gz |
check button: Draw focus again
The box gadget now has API for this; use it.
Diffstat (limited to 'gtk/gtkcheckbutton.c')
-rw-r--r-- | gtk/gtkcheckbutton.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkcheckbutton.c b/gtk/gtkcheckbutton.c index 1e397d4b43..dc899c9f35 100644 --- a/gtk/gtkcheckbutton.c +++ b/gtk/gtkcheckbutton.c @@ -314,6 +314,7 @@ gtk_check_button_init (GtkCheckButton *check_button) widget_node = gtk_widget_get_css_node (GTK_WIDGET (check_button)); priv->gadget = gtk_box_gadget_new_for_node (widget_node, GTK_WIDGET (check_button)); gtk_box_gadget_set_orientation (GTK_BOX_GADGET (priv->gadget), GTK_ORIENTATION_HORIZONTAL); + gtk_box_gadget_set_draw_focus (GTK_BOX_GADGET (priv->gadget), TRUE); priv->indicator_gadget = gtk_builtin_icon_new ("check", GTK_WIDGET (check_button), priv->gadget, |