diff options
author | Matthias Clasen <mclasen@redhat.com> | 2010-11-17 01:04:14 -0500 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2010-12-04 15:39:15 +0100 |
commit | 016a6569238412add67e6e8992f2f8cc42faa644 (patch) | |
tree | 8396596bcd404d17e087f65125587a94a854a35b /gtk/gtkradiobutton.c | |
parent | b6776dc116edaabdfd239373f2a7fe0a1b931bcf (diff) | |
download | gtk+-016a6569238412add67e6e8992f2f8cc42faa644.tar.gz |
Fix prelighting of inconsistent radio and check buttons
Diffstat (limited to 'gtk/gtkradiobutton.c')
-rw-r--r-- | gtk/gtkradiobutton.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkradiobutton.c b/gtk/gtkradiobutton.c index 33479503ab..6a5e2095d9 100644 --- a/gtk/gtkradiobutton.c +++ b/gtk/gtkradiobutton.c @@ -947,7 +947,7 @@ gtk_radio_button_draw_indicator (GtkCheckButton *check_button, if (gtk_widget_get_direction (widget) == GTK_TEXT_DIR_RTL) x = allocation.width - (indicator_size + x); - if (gtk_widget_get_state (widget) == GTK_STATE_PRELIGHT) + if (gtk_widget_get_state_flags (widget) & GTK_STATE_FLAG_PRELIGHT) { gtk_paint_flat_box (style, cr, GTK_STATE_PRELIGHT, |