[gtk+/refactor: 83/96] gtk/gtkcellrenderertoggle.c: use accessor functions to access GtkWidget
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/refactor: 83/96] gtk/gtkcellrenderertoggle.c: use accessor functions to access GtkWidget
- Date: Thu, 12 Aug 2010 02:22:52 +0000 (UTC)
commit 33d6bef2b27ebbb07903776d712c76fe7510f690
Author: Javier Jardón <jjardon gnome org>
Date: Wed Aug 11 23:15:57 2010 +0200
gtk/gtkcellrenderertoggle.c: use accessor functions to access GtkWidget
gtk/gtkcellrenderertoggle.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkcellrenderertoggle.c b/gtk/gtkcellrenderertoggle.c
index 9087adb..62bbc3d 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",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]