mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-04 09:40:19 +00:00
cellrendererpixbuf: Don't set icon size for pixbufs
The code before the refactorings didn't set it, so we now don't set it either. Fixes images being way too smal inside iconviews.
This commit is contained in:
parent
2c61316677
commit
776f034e2d
@ -449,7 +449,8 @@ create_icon_helper (GtkCellRendererPixbuf *cellpixbuf,
|
||||
helper = _gtk_icon_helper_new (widget);
|
||||
_gtk_icon_helper_set_force_scale_pixbuf (helper, TRUE);
|
||||
_gtk_icon_helper_set_definition (helper, priv->image_def);
|
||||
_gtk_icon_helper_set_icon_size (helper, priv->icon_size);
|
||||
if (gtk_image_definition_get_storage_type (priv->image_def) != GTK_IMAGE_PIXBUF)
|
||||
_gtk_icon_helper_set_icon_size (helper, priv->icon_size);
|
||||
|
||||
return helper;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user