]> Pileus Git - ~andy/gtk/commitdiff
icon-theme: always force icon sizes for emblems
authorCosimo Cecchi <cosimoc@gnome.org>
Fri, 5 Nov 2010 09:34:15 +0000 (10:34 +0100)
committerCosimo Cecchi <cosimoc@gnome.org>
Fri, 5 Nov 2010 15:28:32 +0000 (16:28 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=634060

gtk/gtkicontheme.c

index 199f8468baaa9b1e95317fe175227209098e4037..cd55c3f140cf9c4e26d6b5faf735e26f9805f156 100644 (file)
@@ -3722,7 +3722,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);
             }