summaryrefslogtreecommitdiff
path: root/gcache.c
diff options
context:
space:
mode:
authorSebastian Wilhelmi <wilhelmi@ira.uka.de>2000-04-26 08:42:19 +0000
committerSebastian Wilhelmi <wilhelmi@src.gnome.org>2000-04-26 08:42:19 +0000
commitd5fccfb0eb2ec99fc29845082c72a5dc0a66045a (patch)
tree26726447ee1187541fbb0d08f00056f297220f12 /gcache.c
parent7e3c98f8e96449618b3f9dc4d5a3ec1fcd7aa37a (diff)
Changed the 'value' parameter of g_cache_remove from gpointer to
2000-04-26 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * glib.h, gcache.c, gtree.c: Changed the 'value' parameter of g_cache_remove from gpointer to gconstpointer. Dito for the 'key' parameter of g_tree_lookup and g_tree_remove and the 'data' parameter of g_tree_serach. This function now takes a function of type GCompareFunc instead of GSearchFunc. * glib.h: Removed declaration of GSearchFunc. * gmem.c: s/GSearchFunc/GCompareFunc/.
Diffstat (limited to 'gcache.c')
-rw-r--r--gcache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcache.c b/gcache.c
index bba791024..5e625cb9a 100644
--- a/gcache.c
+++ b/gcache.c
@@ -143,8 +143,8 @@ g_cache_insert (GCache *cache,
}
void
-g_cache_remove (GCache *cache,
- gpointer value)
+g_cache_remove (GCache *cache,
+ gconstpointer value)
{
GRealCache *rcache;
GCacheNode *node;