st-texture-cache: Fix colored symbolic icons

Commit b7bf712b97 broke colored symbolic icons by never including
the requested colors in the texture load request.

https://bugzilla.gnome.org/show_bug.cgi?id=662998
This commit is contained in:
Florian Müllner 2011-10-29 16:41:51 +02:00
parent 3d3c9546a2
commit 1760ba1279

View File

@ -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;