[gtk+/refactor: 85/96] gtk/gtkcellrendererspinner.c: use accessor functions to access GtkWidget



commit 90f2fa79ca85048f84fb626d9b519d6e1aa2293e
Author: Javier Jardón <jjardon gnome org>
Date:   Wed Aug 11 23:16:25 2010 +0200

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

 gtk/gtkcellrendererspinner.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkcellrendererspinner.c b/gtk/gtkcellrendererspinner.c
index 67283ec..9db5377 100644
--- a/gtk/gtkcellrendererspinner.c
+++ b/gtk/gtkcellrendererspinner.c
@@ -376,7 +376,7 @@ gtk_cell_renderer_spinner_render (GtkCellRenderer *cellr,
         state = GTK_STATE_PRELIGHT;
     }
 
-  gtk_paint_spinner (widget->style,
+  gtk_paint_spinner (gtk_widget_get_style (widget),
                      window,
                      state,
                      expose_area,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]