mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-16 15:14:17 +00:00
CellRendererPixbuf: Set the window on the icon helper
This lets us get scaled icons if needed.
This commit is contained in:
parent
41a6780f22
commit
07519abcde
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user