Commit 776f034e authored by Benjamin Otte's avatar Benjamin Otte

cellrendererpixbuf: Don't set icon size for pixbufs

The code before the refactorings didn't set it, so we now don't set it

Fixes images being way too smal inside iconviews.
parent 2c613166
......@@ -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;
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