From 720bb9eede1f702f3a1097e27359628290a398ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Sun, 7 May 2017 10:53:11 +0200 Subject: [PATCH] checkbutton: Don't draw a focus ring GtkWidget does it for us now. --- gtk/gtkcheckbutton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkcheckbutton.c b/gtk/gtkcheckbutton.c index 3b3c52b61e..9ca125148b 100644 --- a/gtk/gtkcheckbutton.c +++ b/gtk/gtkcheckbutton.c @@ -352,7 +352,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); + gtk_box_gadget_set_draw_focus (GTK_BOX_GADGET (priv->gadget), FALSE); priv->indicator_gadget = gtk_builtin_icon_new ("check", GTK_WIDGET (check_button), priv->gadget,