summaryrefslogtreecommitdiff
path: root/gtk/gtkapplication-quartz-menu.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/gtkapplication-quartz-menu.c
parente2f778602b027572775ba58823b27509f7b3a589 (diff)
downloadgtk+-b087f9ca51aec76f373f2d25676ea79de278f5a1.tar.gz
icon-theme: Drop the _for_scale() versions and always take scale
Diffstat (limited to 'gtk/gtkapplication-quartz-menu.c')
-rw-r--r--gtk/gtkapplication-quartz-menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkapplication-quartz-menu.c b/gtk/gtkapplication-quartz-menu.c
index 61188e3520..2d31dc0463 100644
--- a/gtk/gtkapplication-quartz-menu.c
+++ b/gtk/gtkapplication-quartz-menu.c
@@ -300,7 +300,7 @@ icon_loaded (GObject *object,
if ([[NSScreen mainScreen] respondsToSelector:@selector(backingScaleFactor)])
scale = roundf ([[NSScreen mainScreen] backingScaleFactor]);
#endif
- info = gtk_icon_theme_lookup_by_gicon_for_scale (theme, icon, ICON_SIZE, scale, GTK_ICON_LOOKUP_USE_BUILTIN);
+ info = gtk_icon_theme_lookup_by_gicon (theme, icon, ICON_SIZE, scale, GTK_ICON_LOOKUP_USE_BUILTIN);
if (info != NULL)
{