forked from AuroraMiddleware/gtk
gtkicontheme: Fix a missing case where we forget to set is_svg
When duplicating the icon_info, we forgot to set is_svg. This meant that any application that used gtk_icon_info_load_icon_async wouldn't have is_svg set properly. This fixes blurry icons in the gnome-shell app picker.
This commit is contained in:
parent
c4fc71058a
commit
c2bf7a887c
@ -3483,6 +3483,8 @@ icon_info_dup (GtkIconInfo *icon_info)
|
||||
dup = icon_info_new (icon_info->dir_type, icon_info->dir_size, icon_info->dir_scale);
|
||||
|
||||
dup->filename = g_strdup (icon_info->filename);
|
||||
dup->is_svg = icon_info->is_svg;
|
||||
|
||||
if (icon_info->icon_file)
|
||||
dup->icon_file = g_object_ref (icon_info->icon_file);
|
||||
if (icon_info->loadable)
|
||||
|
Loading…
Reference in New Issue
Block a user