[Xfce4-commits] [apps/xfdashboard] 04/10: Create better hash value for icon-names or filenames of icons in XfdashboardImageContent

noreply at xfce.org noreply at xfce.org
Wed Jan 6 16:31:38 CET 2016


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

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

commit eac95653cd03b86d320e0c8a7c8463e6fe9e5109
Author: Stephan Haller <nomad at froevel.de>
Date:   Wed Jan 6 12:37:39 2016 +0100

    Create better hash value for icon-names or filenames of icons 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 5be6fae..0d1bca6 100644
--- a/xfdashboard/image-content.c
+++ b/xfdashboard/image-content.c
@@ -1303,7 +1303,7 @@ ClutterContent* xfdashboard_image_content_new_for_icon_name(const gchar *inIconN
 	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", inIconName, inSize);
+	key=g_strdup_printf("icon-name:%s,%d", inIconName, inSize);
 	if(!key)
 	{
 		g_warning(_("Could not create key for icon name '%s' at size %u"), inIconName, inSize);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list