From e190b4536a4e20b57266995d7697f67aad99a5d0 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 18 Oct 2019 07:48:46 -0500 Subject: [PATCH] Drop another use of icon_file --- gtk/gtkicontheme.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c index cc7a6adddd..cc918be739 100644 --- a/gtk/gtkicontheme.c +++ b/gtk/gtkicontheme.c @@ -3332,8 +3332,8 @@ icon_info_ensure_scale_and_texture (GtkIconInfo *icon_info) else size = icon_info->dir_size * dir_scale * icon_info->scale; - if (gtk_icon_info_is_symbolic (icon_info) && icon_info->icon_file) - source_pixbuf = gtk_make_symbolic_pixbuf_from_file (icon_info->icon_file, + if (gtk_icon_info_is_symbolic (icon_info)) + source_pixbuf = gtk_make_symbolic_pixbuf_from_path (icon_info->filename, size, size, icon_info->desired_scale, &icon_info->load_error);