mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-18 17:30:10 +00:00
icon-theme: always force icon sizes for emblems
https://bugzilla.gnome.org/show_bug.cgi?id=634060
This commit is contained in:
parent
bfa741bace
commit
6400a3281b
@ -3500,7 +3500,8 @@ gtk_icon_theme_lookup_by_gicon (GtkIconTheme *icon_theme,
|
|||||||
for (l = list; l; l = l->next)
|
for (l = list; l; l = l->next)
|
||||||
{
|
{
|
||||||
emblem = g_emblem_get_icon (G_EMBLEM (l->data));
|
emblem = g_emblem_get_icon (G_EMBLEM (l->data));
|
||||||
emblem_info = gtk_icon_theme_lookup_by_gicon (icon_theme, emblem, size / 2, flags);
|
/* always force size for emblems */
|
||||||
|
emblem_info = gtk_icon_theme_lookup_by_gicon (icon_theme, emblem, size / 2, flags | GTK_ICON_LOOKUP_FORCE_SIZE);
|
||||||
if (emblem_info)
|
if (emblem_info)
|
||||||
info->emblem_infos = g_slist_prepend (info->emblem_infos, emblem_info);
|
info->emblem_infos = g_slist_prepend (info->emblem_infos, emblem_info);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user