summaryrefslogtreecommitdiff
path: root/gtk/gtkradiobutton.c
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2014-05-01 19:35:30 +0200
committerCosimo Cecchi <cosimoc@gnome.org>2014-05-09 11:02:41 -0700
commit0c6cc487d606b2503ba156f703e40a6412644203 (patch)
tree965213f253c1c7ed2186ad53ffccece90039e2c3 /gtk/gtkradiobutton.c
parentb77a8bcb95d4f178a6fb48523ca51354b05b4c14 (diff)
downloadgtk+-0c6cc487d606b2503ba156f703e40a6412644203.tar.gz
radiobutton: always use interior focus
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 1e88ac3c04..af4e983b49 100644
--- a/gtk/gtkradiobutton.c
+++ b/gtk/gtkradiobutton.c
@@ -878,7 +878,6 @@ gtk_radio_button_draw_indicator (GtkCheckButton *check_button,
gint focus_pad;
gint baseline;
guint border_width;
- gboolean interior_focus;
widget = GTK_WIDGET (check_button);
button = GTK_BUTTON (check_button);
@@ -889,7 +888,6 @@ gtk_radio_button_draw_indicator (GtkCheckButton *check_button,
border_width = gtk_container_get_border_width (GTK_CONTAINER (widget));
gtk_widget_style_get (widget,
- "interior-focus", &interior_focus,
"focus-line-width", &focus_width,
"focus-padding", &focus_pad,
NULL);
@@ -907,7 +905,7 @@ gtk_radio_button_draw_indicator (GtkCheckButton *check_button,
0, allocation.height - indicator_size);
child = gtk_bin_get_child (GTK_BIN (check_button));
- if (!interior_focus || !(child && gtk_widget_get_visible (child)))
+ if (!(child && gtk_widget_get_visible (child)))
x += focus_width + focus_pad;
state &= ~(GTK_STATE_FLAG_INCONSISTENT |