public void remove ()

Removes the key/value pair currently pointed to by the iterator from its associated GenericSet.

Can only be called after next returned true , and cannot be called more than once for the same key/value pair.

If the GenericSet was created using GenericSet, 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.

It is safe to continue iterating the GenericSet afterward:

while (g_hash_table_iter_next (&iter, &key, &value))
if (condition)
g_hash_table_iter_remove (&iter);



an initialized GenericSetIter