icon theme: Actually use scale in choose_icon_async()
authorAlexander Larsson <alexl@redhat.com>
Wed, 29 Jan 2020 16:07:22 +0000 (17:07 +0100)
committerAlexander Larsson <alexl@redhat.com>
Thu, 30 Jan 2020 09:53:43 +0000 (10:53 +0100)
gtk/gtkicontheme.c

index e99cc8d92cd11bceb45b714ef13db5cf3b1582fb..3b15af972d499f785cc891dcccda9cd6b3e8a7f8 100644 (file)
@@ -2429,7 +2429,7 @@ gtk_icon_theme_choose_icon_async (GtkIconTheme       *self,
 
   if (gtk_icon_theme_trylock (self))
     {
-      icon = choose_icon (self, icon_names, size, 1, flags, TRUE, &would_block);
+      icon = choose_icon (self, icon_names, size, scale, flags, TRUE, &would_block);
       gtk_icon_theme_unlock (self);
     }
   else