summaryrefslogtreecommitdiff
path: root/gtk/gtkcellrenderertoggle.c
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-08-11 23:15:57 +0200
committerJavier Jardón <jjardon@gnome.org>2010-08-22 22:56:14 +0200
commitdd61c2bdea0baebfbfa33897c8f85600575ab16f (patch)
tree1fe0467aa56ecd0a41224cfc48ee3d52919204d5 /gtk/gtkcellrenderertoggle.c
parente9915fc8d6be50b8a3960b549f9be5980d8b460d (diff)
downloadgtk+-dd61c2bdea0baebfbfa33897c8f85600575ab16f.tar.gz
gtk/gtkcellrenderertoggle.c: use accessor functions to access GtkWidget
Diffstat (limited to 'gtk/gtkcellrenderertoggle.c')
-rw-r--r--gtk/gtkcellrenderertoggle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkcellrenderertoggle.c b/gtk/gtkcellrenderertoggle.c
index 9087adb324..62bbc3d67f 100644
--- a/gtk/gtkcellrenderertoggle.c
+++ b/gtk/gtkcellrenderertoggle.c
@@ -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",