Re: bool key exist, key remove
- From: Havoc Pennington <hp redhat com>
- To: Denes Matetelki <cs0rbagomba yahoo com>
- Cc: gconf-list gnome org
- Subject: Re: bool key exist, key remove
- Date: Mon, 14 May 2007 15:16:53 -0400
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]