peek


Description:

public void* peek (void* key)

Returns the object for key in this, ignoring any reservations.

If it isn't committed, then it isn't considered. This should only be used where reliable transactional-based state is not required.

Unlink other "peek" operations, the caller owns the returned object reference. Use g_object_unref () to unreference it.

Parameters:

this

a ObjectBag

key

an unreserved key

Returns:

the object for key, or null if key is reserved or not found