Calls the given function for each key/value pair in the
GHashTable. If the function returns TRUE, then the key/value
pair is removed from the GHashTable. If you supplied key or
value destroy functions when creating the GHashTable, they are
used to free the memory allocated for the removed keys and values.
See GHashTableIter for an alternative way to loop over the
key/value pairs in the hash table.
Calls the given function for each key/value pair in the GHashTable. If the function returns TRUE, then the key/value pair is removed from the GHashTable. If you supplied key or value destroy functions when creating the GHashTable, they are used to free the memory allocated for the removed keys and values. See GHashTableIter for an alternative way to loop over the key/value pairs in the hash table.