Method

GLibCacheremove

deprecated: 2.32 

Declaration

void
g_cache_remove (
  GCache* cache,
  gconstpointer value
)

Description

Decreases the reference count of the given value. If it drops to 0 then the value and its corresponding key are destroyed, using the value_destroy_func and key_destroy_func passed to g_cache_new().

Deprecated since: 2.32

Use a GHashTable instead.

Parameters

value

Type: gconstpointer

The value to remove.

The argument can be NULL.
The data is owned by the caller of the function.