check button: Draw focus again

The box gadget now has API for this; use it.
This commit is contained in:
Matthias Clasen 2016-02-20 10:45:07 -05:00
parent ebff86d6f6
commit 7ed1225296

View File

@ -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,