This is an automated email from the git hooks/post-receive script.

nomad pushed a commit to branch master
in repository apps/xfdashboard.

commit e4950462b351e2398c4fc67a77f647b3bc753d4b
Author: Stephan Haller <no...@froevel.de>
Date:   Wed Jan 6 12:35:41 2016 +0100

    Create better hash value for GIcons in XfdashboardImageContent
---
 xfdashboard/image-content.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xfdashboard/image-content.c b/xfdashboard/image-content.c
index 40dc01e..688a68a 100644
--- a/xfdashboard/image-content.c
+++ b/xfdashboard/image-content.c
@@ -1340,7 +1340,7 @@ ClutterContent* 
xfdashboard_image_content_new_for_gicon(GIcon *inIcon, gint inSi
        g_return_val_if_fail(inSize>0, NULL);
 
        /* Check if we have a cache image for icon otherwise create image 
instance */
-       key=g_strdup_printf("%s,%d", g_icon_to_string(inIcon), inSize);
+       key=g_strdup_printf("gicon:%s-%u,%d", G_OBJECT_TYPE_NAME(inIcon), 
g_icon_hash(inIcon), inSize);
        if(!key)
        {
                g_warning(_("Could not create key for gicon '%s' at size %u"), 
g_icon_to_string(inIcon), inSize);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to