[gnome-shell] st-texture-cache: Fix colored symbolic icons



commit 1760ba1279d6fbd62f72d075f062c9269c049afd
Author: Florian MÃllner <fmuellner gnome org>
Date:   Sat Oct 29 16:41:51 2011 +0200

    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 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/st/st-texture-cache.c b/src/st/st-texture-cache.c
index 2333cff..377f3b9 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;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]