mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
gtk/gtkcellrenderertoggle.c: use accessor functions to access GtkWidget
This commit is contained in:
parent
e9915fc8d6
commit
dd61c2bdea
@ -376,7 +376,7 @@ gtk_cell_renderer_toggle_render (GtkCellRenderer *cell,
|
||||
|
||||
if (priv->radio)
|
||||
{
|
||||
gtk_paint_option (widget->style,
|
||||
gtk_paint_option (gtk_widget_get_style (widget),
|
||||
window,
|
||||
state, shadow,
|
||||
expose_area, widget, "cellradio",
|
||||
@ -386,7 +386,7 @@ gtk_cell_renderer_toggle_render (GtkCellRenderer *cell,
|
||||
}
|
||||
else
|
||||
{
|
||||
gtk_paint_check (widget->style,
|
||||
gtk_paint_check (gtk_widget_get_style (widget),
|
||||
window,
|
||||
state, shadow,
|
||||
expose_area, widget, "cellcheck",
|
||||
|
Loading…
Reference in New Issue
Block a user