summaryrefslogtreecommitdiff
path: root/gtk/gtkcellrendererpixbuf.c
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-08-11 23:16:54 +0200
committerJavier Jardón <jjardon@gnome.org>2010-08-22 22:56:15 +0200
commit7b5656b4928309c330ea5776460a5c046d31bcea (patch)
tree5d8d324d45e3300a6aef02bbc51d84e0ab326c56 /gtk/gtkcellrendererpixbuf.c
parent4a17e27a1ea4c026a2ff546dc100239d0ab8bb1e (diff)
downloadgtk+-7b5656b4928309c330ea5776460a5c046d31bcea.tar.gz
gtk/gtkcellrendererpixbuf.c: use accessor functions to access GtkWidget
Diffstat (limited to 'gtk/gtkcellrendererpixbuf.c')
-rw-r--r--gtk/gtkcellrendererpixbuf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkcellrendererpixbuf.c b/gtk/gtkcellrendererpixbuf.c
index 135b63d926..eeacac29a8 100644
--- a/gtk/gtkcellrendererpixbuf.c
+++ b/gtk/gtkcellrendererpixbuf.c
@@ -812,8 +812,8 @@ gtk_cell_renderer_pixbuf_render (GtkCellRenderer *cell,
*/
gtk_icon_source_set_size (source, GTK_ICON_SIZE_SMALL_TOOLBAR);
gtk_icon_source_set_size_wildcarded (source, FALSE);
-
- invisible = gtk_style_render_icon (widget->style,
+
+ invisible = gtk_style_render_icon (gtk_widget_get_style (widget),
source,
gtk_widget_get_direction (widget),
GTK_STATE_INSENSITIVE,
@@ -844,7 +844,7 @@ gtk_cell_renderer_pixbuf_render (GtkCellRenderer *cell,
symbolic = create_symbolic_pixbuf (cellpixbuf, widget, state);
if (!symbolic) {
colorized = create_colorized_pixbuf (pixbuf,
- &widget->style->base[state]);
+ &gtk_widget_get_style (widget)->base[state]);
pixbuf = colorized;
} else {