Merge branch 'wip/cellrendererpixbuf-fallbacks' into 'master'

cellrendererpixbuf: Use fallback icons with icon-name

Closes #1809

See merge request GNOME/gtk!728
This commit is contained in:
Matthias Clasen 2019-04-08 15:09:40 +00:00
commit e6631a7b66

View File

@ -391,6 +391,7 @@ create_icon_helper (
icon_helper = gtk_icon_helper_new (gtk_style_context_get_node (gtk_widget_get_style_context (widget)), icon_helper = gtk_icon_helper_new (gtk_style_context_get_node (gtk_widget_get_style_context (widget)),
widget); widget);
_gtk_icon_helper_set_use_fallback (icon_helper, TRUE);
_gtk_icon_helper_set_force_scale_pixbuf (icon_helper, TRUE); _gtk_icon_helper_set_force_scale_pixbuf (icon_helper, TRUE);
_gtk_icon_helper_set_definition (icon_helper, priv->image_def); _gtk_icon_helper_set_definition (icon_helper, priv->image_def);