Re: GConf question
- From: Emmanuele Bassi <bassi-e libero it>
- To: gtk-perl list <gtk-perl-list gnome org>
- Subject: Re: GConf question
- Date: Sun, 7 Mar 2004 14:15:00 +0100
* James Curbo <james teyandei net>:
$client->set_list($app_key, 'string', \ data);
OK, I understand this. However even with keys I set last night inside
gconf-editor, I still get an array of undef's when I query with
get_list... however it is the same size as the list I'm trying to get.
For instance, the list I'm trying to grab has two items in it, and
get_list is returning an arrayref with two undefs in it. I was getting
the same result last night with a list with three items in it (was
returning three undefs). get_string works as expected.
Am I missing something obvious here?
No, you've hit a bug due to the fact that I'm a sloppy coder. *blush*
I've always been testing the setting of lists, since they were the only
thing that I've never used with GConf (I've always found the concept of
storing lists/pair very developer-unfriendly, and a poor substitute of
the ability to store complex data); it was completely my fault.
Fixed now in CVS, there'll be a 0.94 release as soon as muppet can do
it.
Thanks,
Emmanuele.
--
Emmanuele Bassi (Zefram) [ http://www.emmanuelebassi.net ]
GnuPG Key fingerprint = 4DD0 C90D 4070 F071 5738 08BD 8ECC DB8F A432 0FF4
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]