Denes Matetelki wrote:
Hi! I have 2 problems: 1. I would like to check a bool key, if it exist or not.gconf_client_get_bool's error is always null, either when the key exist, or when it's not. And the return value is FALSE, either when the key not exist, or the bool key is set to false.So I can't tell if the bool is not exist, or it is set to false.
Use the function that returns GConfValue, it will be NULL for an unset value.
2. How can I remove a key?
the unset() function Havoc