Mercurial > hg > xemacs-beta
comparison src/objects-gtk.c @ 2515:de9952d2ed18
[xemacs-hg @ 2005-01-26 10:22:19 by ben]
Hash table cleanups, part 1 of 2
emacs-marshals.c, hash.c, hash.h, ui-gtk.c: Clean up and generalize creation of string hash tables.
ui-gtk.c, elhash.h, gccache-gtk.c, glyphs-gtk.c, lrecord.h, marker.c, objects-gtk.c, objects-msw.c, objects-tty.c, objects-x.c, objects.c, opaque.c, rangetab.c, specifier.c, specifier.h, xgccache.c: Use Hashcode rather than unsigned long.
author | ben |
---|---|
date | Wed, 26 Jan 2005 10:22:29 +0000 |
parents | 04bc9d2f42c7 |
children | 491f8cf78a9c |
comparison
equal
deleted
inserted
replaced
2514:b49d38bc659d | 2515:de9952d2ed18 |
---|---|
176 { | 176 { |
177 return (gdk_color_equal (COLOR_INSTANCE_GTK_COLOR (c1), | 177 return (gdk_color_equal (COLOR_INSTANCE_GTK_COLOR (c1), |
178 COLOR_INSTANCE_GTK_COLOR (c2))); | 178 COLOR_INSTANCE_GTK_COLOR (c2))); |
179 } | 179 } |
180 | 180 |
181 static unsigned long | 181 static Hashcode |
182 gtk_color_instance_hash (struct Lisp_Color_Instance *c, int UNUSED (depth)) | 182 gtk_color_instance_hash (struct Lisp_Color_Instance *c, int UNUSED (depth)) |
183 { | 183 { |
184 return (gdk_color_hash (COLOR_INSTANCE_GTK_COLOR (c), NULL)); | 184 return (gdk_color_hash (COLOR_INSTANCE_GTK_COLOR (c), NULL)); |
185 } | 185 } |
186 | 186 |