From 1760ba1279d6fbd62f72d075f062c9269c049afd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Sat, 29 Oct 2011 16:41:51 +0200 Subject: [PATCH] st-texture-cache: Fix colored symbolic icons Commit b7bf712b977 broke colored symbolic icons by never including the requested colors in the texture load request. https://bugzilla.gnome.org/show_bug.cgi?id=662998 --- src/st/st-texture-cache.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/st/st-texture-cache.c b/src/st/st-texture-cache.c index 2333cffe3..377f3b9d5 100644 --- a/src/st/st-texture-cache.c +++ b/src/st/st-texture-cache.c @@ -1103,6 +1103,7 @@ load_gicon_with_colors (StTextureCache *cache, request->key = key; request->policy = policy; request->icon = g_object_ref (icon); + request->colors = colors ? st_icon_colors_ref (colors) : NULL; request->icon_info = info; request->width = request->height = size; request->enforced_square = TRUE;