summaryrefslogtreecommitdiff
path: root/gtk/gtkcssimageicontheme.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2020-01-28 16:14:52 +0100
committerAlexander Larsson <alexl@redhat.com>2020-01-30 10:53:43 +0100
commitb087f9ca51aec76f373f2d25676ea79de278f5a1 (patch)
tree1f111090993ced43d170a0f9032b790af7985df5 /gtk/gtkcssimageicontheme.c
parente2f778602b027572775ba58823b27509f7b3a589 (diff)
downloadgtk+-b087f9ca51aec76f373f2d25676ea79de278f5a1.tar.gz
icon-theme: Drop the _for_scale() versions and always take scale
Diffstat (limited to 'gtk/gtkcssimageicontheme.c')
-rw-r--r--gtk/gtkcssimageicontheme.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk/gtkcssimageicontheme.c b/gtk/gtkcssimageicontheme.c
index 65790719d3..86786b8f61 100644
--- a/gtk/gtkcssimageicontheme.c
+++ b/gtk/gtkcssimageicontheme.c
@@ -61,15 +61,15 @@ gtk_css_image_icon_theme_snapshot (GtkCssImage *image,
}
else
{
- icon_info = gtk_icon_theme_lookup_icon_for_scale (icon_theme->icon_theme,
- icon_theme->name,
- size,
- icon_theme->scale,
- GTK_ICON_LOOKUP_USE_BUILTIN);
+ icon_info = gtk_icon_theme_lookup_icon (icon_theme->icon_theme,
+ icon_theme->name,
+ size,
+ icon_theme->scale,
+ GTK_ICON_LOOKUP_USE_BUILTIN);
if (icon_info == NULL)
icon_info = gtk_icon_theme_lookup_icon (icon_theme->icon_theme,
"image-missing",
- size,
+ size, icon_theme->scale,
GTK_ICON_LOOKUP_USE_BUILTIN | GTK_ICON_LOOKUP_GENERIC_FALLBACK);
g_assert (icon_info != NULL);