[gtk+/wip/baedert/drawing: 124/348] checkbutton: Don't draw a focus ring



commit a1cb6e024fe690051835008f82bdffb6c9f15d14
Author: Timm Bäder <mail baedert org>
Date:   Sun May 7 10:53:11 2017 +0200

    checkbutton: Don't draw a focus ring
    
    GtkWidget does it for us now.

 gtk/gtkcheckbutton.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkcheckbutton.c b/gtk/gtkcheckbutton.c
index 3b3c52b..9ca1251 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,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]