Errors getting bools and ints
James Lee <[email protected]>
| Newsgroups | gmane.comp.gnome.lib.gconf |
|---|---|
| Message-ID | <[email protected]> |
Hello, I am writing a program using GConf for the first time. I created a schema which has the following items: /apps/junepimp-tagger/general: auto_save_threshold = 90 minimum_trm_threshold = 50 server = musicbrainz.org trm_collision_threshold = 80 trm_collision = true auto_save = false I loaded the schema into the GConf and it is viewable and editable in GConf editor. Then I went to use it in my app, and I get the following errors: (java-gnome:15341): GConf-CRITICAL **: gconf_client_get_bool: assertion `err == NULL || *err == NULL' failed (java-gnome:15341): GConf-CRITICAL **: gconf_client_get_int: assertion `err == NULL || *err == NULL' failed (java-gnome:15341): GConf-CRITICAL **: gconf_client_get_bool: assertion `err == NULL || *err == NULL' failed (java-gnome:15341): GConf-CRITICAL **: gconf_client_get_int: assertion `err == NULL || *err == NULL' failed (java-gnome:15341): GConf-CRITICAL **: gconf_client_get_int: assertion `err == NULL || *err == NULL' failed My app can get the string 'server' just fine. And, strangely, my app can write to the ints and bools fine. I am writing my program with Java-Gnome 2.10.1 (I had the problem with 2.8 too). I asked about the errors on the Java-Gnome IRC channel, but they suggested that it was a native GConf problem, so I'm asking here. What can cause those errors? If you need to see the source, you can get it here: http://cvs.sourceforge.net/viewcvs.py/junepimp/junepimp/src/tagger/java/net/ sourceforge/junepimp/tagger/Preferences.java?rev=1.5&view=markup I get the errors when I call confClient.getInt and confClient.getBool. Thank you very much, James Lee [email protected]