After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 97567 - gconf_value_get_car/cdr/list
gconf_value_get_car/cdr/list
Status: RESOLVED FIXED
Product: gnome-python
Classification: Deprecated
Component: gconf
1.99.x
Other Linux
: Normal normal
: ---
Assigned To: Johan (not receiving bugmail) Dahlin
Johan (not receiving bugmail) Dahlin
Depends on:
Blocks:
 
 
Reported: 2002-11-03 17:08 UTC by hashao
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
more value_get methods: car, cdr, list (2.69 KB, patch)
2002-11-03 17:09 UTC, hashao
none Details | Review
oops, update, removed a left over from debug (2.65 KB, patch)
2002-11-03 17:15 UTC, hashao
none Details | Review

Description hashao 2002-11-03 17:08:46 UTC
These methods are not present in gconf.defs. don't know why. But I think
if callback for gconf is used, these methods need to be binded.

I have the get_car/cdr methods override cause from gconf API doc, the actual
GConfValue's are owned by the pair they are in. Need a FALSE in pyg_new_box().
And get_list still return a Tuple.

BTW,  
override gconf_client_all_entries args
in gconf.override
Py_INCREF the tuple before return it. is it neccessary? if it is, all the
get_list
need to INCREF before return too.
Comment 1 hashao 2002-11-03 17:09:55 UTC
Created attachment 12017 [details] [review]
more value_get methods: car, cdr, list
Comment 2 hashao 2002-11-03 17:15:34 UTC
Created attachment 12018 [details] [review]
oops, update, removed a left over from debug
Comment 3 Johan (not receiving bugmail) Dahlin 2002-11-04 19:15:50 UTC
Thanks. 

Checked into CVS.