Commit 7cbd85cd authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Use the same function as in updateiconcache.c. (spotted by Morten

2005-04-08  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconcache.c (icon_name_hash): Use the same function
	as in updateiconcache.c.  (spotted by Morten Welinder)
parent 7e832a73
2005-04-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkiconcache.c (icon_name_hash): Use the same function
as in updateiconcache.c. (spotted by Morten Welinder)
2005-04-08 Carl Worth <cworth@cworth.org> 2005-04-08 Carl Worth <cworth@cworth.org>
* gdk/gdkpango.c: (emboss_context): Simplify matrix manipulation * gdk/gdkpango.c: (emboss_context): Simplify matrix manipulation
......
2005-04-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkiconcache.c (icon_name_hash): Use the same function
as in updateiconcache.c. (spotted by Morten Welinder)
2005-04-08 Carl Worth <cworth@cworth.org> 2005-04-08 Carl Worth <cworth@cworth.org>
* gdk/gdkpango.c: (emboss_context): Simplify matrix manipulation * gdk/gdkpango.c: (emboss_context): Simplify matrix manipulation
......
2005-04-08 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkiconcache.c (icon_name_hash): Use the same function
as in updateiconcache.c. (spotted by Morten Welinder)
2005-04-08 Carl Worth <cworth@cworth.org> 2005-04-08 Carl Worth <cworth@cworth.org>
* gdk/gdkpango.c: (emboss_context): Simplify matrix manipulation * gdk/gdkpango.c: (emboss_context): Simplify matrix manipulation
......
...@@ -223,8 +223,8 @@ _gtk_icon_cache_has_directory (GtkIconCache *cache, ...@@ -223,8 +223,8 @@ _gtk_icon_cache_has_directory (GtkIconCache *cache,
static guint static guint
icon_name_hash (gconstpointer key) icon_name_hash (gconstpointer key)
{ {
const char *p = key; const signed char *p = key;
guint h = *p; guint32 h = *p;
if (h) if (h)
for (p += 1; *p != '\0'; p++) for (p += 1; *p != '\0'; p++)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment