[gtk+] GtkRadioButton: Use "radio" style class instead of "check"



commit 3fff4bd0915deeb5b009557113eb98d72b0fe1cd
Author: Carlos Garcia Campos <cgarcia igalia com>
Date:   Mon Jan 3 13:09:00 2011 +0100

    GtkRadioButton: Use "radio" style class instead of "check"

 gtk/gtkradiobutton.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkradiobutton.c b/gtk/gtkradiobutton.c
index 424d850..4044b3e 100644
--- a/gtk/gtkradiobutton.c
+++ b/gtk/gtkradiobutton.c
@@ -952,7 +952,7 @@ gtk_radio_button_draw_indicator (GtkCheckButton *check_button,
                            allocation.width - (2 * border_width),
                            allocation.height - (2 * border_width));
 
-  gtk_style_context_add_class (context, GTK_STYLE_CLASS_CHECK);
+  gtk_style_context_add_class (context, GTK_STYLE_CLASS_RADIO);
 
   gtk_render_option (context, cr,
                      x, y, indicator_size, indicator_size);



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