Commit 98481e95 authored by Alexander Larsson's avatar Alexander Larsson
Browse files

CellRendererPixbuf: Set the window on the icon helper

This lets us get scaled icons if needed.
parent b85c053e
......@@ -552,6 +552,8 @@ gtk_cell_renderer_pixbuf_render (GtkCellRenderer *cell,
if (icon_helper == NULL)
icon_helper = g_object_ref (priv->icon_helper);
_gtk_icon_helper_set_window (icon_helper,
gtk_widget_get_window (widget));
_gtk_icon_helper_draw (icon_helper,
context, cr,
pix_rect.x, pix_rect.y);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment