Re: Errors getting bools and ints
- From: Mark McLoughlin <markmc redhat com>
- To: James Lee <jlee23 umbc edu>
- Cc: gconf-list gnome org
- Subject: Re: Errors getting bools and ints
- Date: Thu, 05 May 2005 07:20:28 +0100
Hi,
On Thu, 2005-05-05 at 02:14 +0000, James Lee wrote:
> (java-gnome:15341): GConf-CRITICAL **: gconf_client_get_int: assertion
> `err ==
> NULL || *err == NULL' failed
This assertion is triggered when gconf_client_get_int () gets passed a
GError which is non-NULL e.g.
{
GError *error;
int ret
/* error = NULL; */ /* Oops, forgot to initialize it to NULL ? */
ret = gconf_client_get_int (client, MY_KEY, &error);
}
> 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?
It sounds like a Java-Gnome issue to me ...
Cheers,
Mark.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]