From 6400a3281b59f3137290a39d117d407e2d683ae5 Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Fri, 5 Nov 2010 10:34:15 +0100 Subject: [PATCH] icon-theme: always force icon sizes for emblems https://bugzilla.gnome.org/show_bug.cgi?id=634060 --- gtk/gtkicontheme.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c index 576ad6728..82636ff97 100644 --- a/gtk/gtkicontheme.c +++ b/gtk/gtkicontheme.c @@ -3500,7 +3500,8 @@ gtk_icon_theme_lookup_by_gicon (GtkIconTheme *icon_theme, for (l = list; l; l = l->next) { 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) info->emblem_infos = g_slist_prepend (info->emblem_infos, emblem_info); }