forked from AuroraMiddleware/gtk
Merge branch 'wip/cellrendererpixbuf-fallbacks-3-24' into 'gtk-3-24'
cellrendererpixbuf: Use fallback icons with icon-name See merge request GNOME/gtk!729
This commit is contained in:
commit
af58e05531
@ -464,6 +464,7 @@ create_icon_helper (GtkCellRendererPixbuf *cellpixbuf,
|
||||
GtkIconHelper *helper;
|
||||
|
||||
helper = gtk_icon_helper_new (gtk_style_context_get_node (gtk_widget_get_style_context (widget)), widget);
|
||||
_gtk_icon_helper_set_use_fallback (helper, TRUE);
|
||||
_gtk_icon_helper_set_force_scale_pixbuf (helper, TRUE);
|
||||
_gtk_icon_helper_set_definition (helper, priv->image_def);
|
||||
if (gtk_image_definition_get_storage_type (priv->image_def) != GTK_IMAGE_PIXBUF)
|
||||
|
Loading…
Reference in New Issue
Block a user