a function to create a new object given a key. This is called by g_cache_insert() if an object with the given key does not already exist.
a function to destroy an object. It is called by g_cache_remove() when the object is no longer needed (i.e. its reference count drops to 0).
a function to copy a key. It is called by g_cache_insert() if the key does not already exist in the GCache.
a function to destroy a key. It is called by g_cache_remove() when the object is no longer needed (i.e. its reference count drops to 0).
a function to create a hash value from a key.
a function to create a hash value from a value.
a function to compare two keys. It should return TRUE if the two keys are equivalent.
ConstructionException GTK+ fails to create the object.
Creates a new GCache.