- gdk_draw_rectangle (window,
- widget->style->black_gc,
- FALSE,
- cell_area->x + real_xoffset,
- cell_area->y + real_yoffset,
- width, height);
- if (celltoggle->active)
- {
- gdk_draw_line (window,
- widget->style->black_gc,
- cell_area->x + real_xoffset,
- cell_area->y + real_yoffset,
- cell_area->x + real_xoffset + width,
- cell_area->y + real_yoffset + height);
- gdk_draw_line (window,
- widget->style->black_gc,
- cell_area->x + real_xoffset + width,
- cell_area->y + real_yoffset,
- cell_area->x + real_xoffset,
- cell_area->y + real_yoffset + height);
- }
+ gtk_style_context_add_class (context, GTK_STYLE_CLASS_RADIO);
+ gtk_render_option (context, cr,
+ cell_area->x + x_offset + xpad,
+ cell_area->y + y_offset + ypad,
+ width, height);