diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-05-30 22:38:33 +0200 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-07-13 19:40:45 +0200 |
commit | db584abef335a39b8c2dc8c5e2871ed41c148e17 (patch) | |
tree | a408e1537fe03b99fcdf478341db3d9aafa5c3b0 /gtk/gtkcellrendererspinner.c | |
parent | 932568d1ed6c49f4cc3b4c7bdad117044fbff87e (diff) | |
download | gtk+-db584abef335a39b8c2dc8c5e2871ed41c148e17.tar.gz |
Use accessor functions to access GtkCellRenderer
Diffstat (limited to 'gtk/gtkcellrendererspinner.c')
-rw-r--r-- | gtk/gtkcellrendererspinner.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkcellrendererspinner.c b/gtk/gtkcellrendererspinner.c index 8a4125ef94..f4eec0d435 100644 --- a/gtk/gtkcellrendererspinner.c +++ b/gtk/gtkcellrendererspinner.c @@ -359,7 +359,8 @@ gtk_cell_renderer_spinner_render (GtkCellRenderer *cellr, } state = GTK_STATE_NORMAL; - if (gtk_widget_get_state (widget) == GTK_STATE_INSENSITIVE || !cellr->sensitive) + if (gtk_widget_get_state (widget) == GTK_STATE_INSENSITIVE || + !gtk_cell_renderer_get_sensitive (cellr)) { state = GTK_STATE_INSENSITIVE; } |