summaryrefslogtreecommitdiff
path: root/gtk/gtkradiobutton.c
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2014-05-02 01:39:06 +0200
committerCosimo Cecchi <cosimoc@gnome.org>2014-05-09 11:02:42 -0700
commit99f0776f198f33b582afb12a4ad54e8bf49d4c49 (patch)
tree985dc6b4f904ffa9a02a7dbaffb267056ca39bb3 /gtk/gtkradiobutton.c
parent8b068e996f906775269abe776bf4248a936c66cc (diff)
downloadgtk+-99f0776f198f33b582afb12a4ad54e8bf49d4c49.tar.gz
checkbutton: don't use focus padding
Diffstat (limited to 'gtk/gtkradiobutton.c')
-rw-r--r--gtk/gtkradiobutton.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gtk/gtkradiobutton.c b/gtk/gtkradiobutton.c
index af4e983b49..be52b50bda 100644
--- a/gtk/gtkradiobutton.c
+++ b/gtk/gtkradiobutton.c
@@ -875,7 +875,6 @@ gtk_radio_button_draw_indicator (GtkCheckButton *check_button,
gint x, y;
gint indicator_size, indicator_spacing;
gint focus_width;
- gint focus_pad;
gint baseline;
guint border_width;
@@ -889,7 +888,6 @@ gtk_radio_button_draw_indicator (GtkCheckButton *check_button,
gtk_widget_style_get (widget,
"focus-line-width", &focus_width,
- "focus-padding", &focus_pad,
NULL);
_gtk_check_button_get_props (check_button, &indicator_size, &indicator_spacing);
@@ -906,7 +904,7 @@ gtk_radio_button_draw_indicator (GtkCheckButton *check_button,
child = gtk_bin_get_child (GTK_BIN (check_button));
if (!(child && gtk_widget_get_visible (child)))
- x += focus_width + focus_pad;
+ x += focus_width;
state &= ~(GTK_STATE_FLAG_INCONSISTENT |
GTK_STATE_FLAG_ACTIVE |