summaryrefslogtreecommitdiff
path: root/gtk/gtkcellrendererpixbuf.c
diff options
context:
space:
mode:
authorIain Lane <iainl@gnome.org>2019-04-08 14:52:49 +0100
committerIain Lane <iainl@gnome.org>2019-04-08 15:05:51 +0100
commitfbe0e328137714de00cd1b7d47f77b539092ac9a (patch)
treedb55030b38a63d91159ad2e8699d7b11e0a032d6 /gtk/gtkcellrendererpixbuf.c
parent2594593de2a77500afb481f7ebee652a0d9c27d4 (diff)
downloadgtk+-fbe0e328137714de00cd1b7d47f77b539092ac9a.tar.gz
cellrendererpixbuf: Use fallback icons with icon-name
This gives us a better chance of finding an icon to show. Closes: #1809
Diffstat (limited to 'gtk/gtkcellrendererpixbuf.c')
-rw-r--r--gtk/gtkcellrendererpixbuf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkcellrendererpixbuf.c b/gtk/gtkcellrendererpixbuf.c
index d9349a5488..25b7ad4c21 100644
--- a/gtk/gtkcellrendererpixbuf.c
+++ b/gtk/gtkcellrendererpixbuf.c
@@ -391,6 +391,7 @@ create_icon_helper (
icon_helper = gtk_icon_helper_new (gtk_style_context_get_node (gtk_widget_get_style_context (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_definition (icon_helper, priv->image_def);