BBTree.remove

Removes a key/value pair from a #GTree.

If the #GTree was created using g_tree_new_full(), the key and value are freed using the supplied destroy functions, otherwise you have to make sure that any dynamically allocated values are freed yourself. If the key does not exist in the #GTree, the function does nothing.

class BBTree
bool
remove
(
void* key
)

Parameters

key void*

the key to remove

Return: %TRUE if the key was found (prior to 2.8, this function returned nothing)

Meta