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



commit dba6bd5a386a88ad2f32d8665932d1ed2a6b8c3a
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]