Commit dd61c2bd authored by Javier Jardón's avatar Javier Jardón
Browse files

gtk/gtkcellrenderertoggle.c: use accessor functions to access GtkWidget

parent e9915fc8
...@@ -376,7 +376,7 @@ gtk_cell_renderer_toggle_render (GtkCellRenderer *cell, ...@@ -376,7 +376,7 @@ gtk_cell_renderer_toggle_render (GtkCellRenderer *cell,
if (priv->radio) if (priv->radio)
{ {
gtk_paint_option (widget->style, gtk_paint_option (gtk_widget_get_style (widget),
window, window,
state, shadow, state, shadow,
expose_area, widget, "cellradio", expose_area, widget, "cellradio",
...@@ -386,7 +386,7 @@ gtk_cell_renderer_toggle_render (GtkCellRenderer *cell, ...@@ -386,7 +386,7 @@ gtk_cell_renderer_toggle_render (GtkCellRenderer *cell,
} }
else else
{ {
gtk_paint_check (widget->style, gtk_paint_check (gtk_widget_get_style (widget),
window, window,
state, shadow, state, shadow,
expose_area, widget, "cellcheck", expose_area, widget, "cellcheck",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment