From 7ed1225296b047e2ee86fe6c85d5e739922036fc Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 20 Feb 2016 10:45:07 -0500 Subject: [PATCH] check button: Draw focus again The box gadget now has API for this; use it. --- gtk/gtkcheckbutton.c | 1 + 1 file changed, 1 insertion(+) 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,