CellRendererPixbuf: Set the window on the icon helper

This lets us get scaled icons if needed.
This commit is contained in:
Alexander Larsson 2013-06-26 11:28:33 +02:00
parent 41a6780f22
commit 07519abcde

View File

@ -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);